diff SMALLboxSetup.m @ 140:31d2864dfdd4 ivand_dev

Audio Impainting additional constraints with cvx added
author Ivan Damnjanovic lnx <ivan.damnjanovic@eecs.qmul.ac.uk>
date Mon, 25 Jul 2011 17:27:05 +0100
parents a4e255cfb113
children b8db4285e0ca
line wrap: on
line diff
--- a/SMALLboxSetup.m	Thu Jul 21 16:37:14 2011 +0100
+++ b/SMALLboxSetup.m	Mon Jul 25 17:27:05 2011 +0100
@@ -274,7 +274,15 @@
 end
 
 %%
+%% KSVD utils setup
 
+if ~(exist('addtocols')==3)
+    cd([SMALL_path,FS,'util',FS,'ksvd utils']);
+    make
+    cd(SMALL_path);
+end
+
+%%
 if ~exist('ksvdver.m','file')
     fprintf('\n ******************************************************************');
     fprintf('\n\n Initialising OMPbox and KSVDBox Setup');
@@ -300,9 +308,9 @@
             fprintf('\n\n Downloading toolbox, please be patient\n\n');
         end
         unzip(KSVD_zip,[KSVD_path, FS, 'ksvdbox']);
-%         cd([KSVD_path, FS, 'ksvdbox', FS, 'private']);
-%         make;
-%         cd(SMALL_path);
+        cd([KSVD_path, FS, 'ksvdbox', FS, 'private']);
+        make;
+        cd(SMALL_path);
         KSVD_p=genpath(KSVD_path);
         addpath(KSVD_p);
         fprintf('\n KSVDBox and OMPBox Installation Successful\n');
@@ -392,13 +400,7 @@
     fprintf('\n\n matlab_midi (http://www.kenschutte.com/midi/) is already installed');
 end
 
-%% KSVD utils setup
 
-if ~(exist('addtocols')==3)
-    cd([SMALL_path,FS,'util',FS,'ksvd utils']);
-    make
-    cd(SMALL_path);
-end
 
 %% RWT setup
 if ~(exist('mdwt')==3)