diff config/SMALL_solve_config.m @ 244:5c8bcdadb380 unlocbox

added UNLocBox interface, example and a 128x128 Lena
author bmailhe
date Tue, 04 Sep 2012 11:00:36 +0100
parents 198d4d9cee74
children
line wrap: on
line diff
--- a/config/SMALL_solve_config.m	Wed Aug 29 10:39:14 2012 +0100
+++ b/config/SMALL_solve_config.m	Tue Sep 04 11:00:36 2012 +0100
@@ -74,6 +74,14 @@
     end
     
     [y, cost] = wrapper_mm_solver(b, A, solver.param);
+
+elseif (strcmpi(solver.toolbox, 'UNLocBox'))
+    if ~isa(Problem.A,'float')
+        % MMbox does not accept implicit dictionary definition
+        A = opToMatrix(Problem.A, 1);
+    end
+    
+    y = unloc_solver(b, A, solver.param,solver.name);
     
     %%
     %   Please do not make any changes to the 'SMALL_solve_config.m' file