comparison SMALLboxSetup.m @ 33:f6b49c9d728c

(none)
author idamnjanovic
date Tue, 29 Jun 2010 12:49:08 +0000
parents 636a2a3d7302
children 165e3b249170
comparison
equal deleted inserted replaced
32:6521a7c2b93c 33:f6b49c9d728c
129 try 129 try
130 SPGL1_path = [SMALL_path,FS,'toolboxes',FS,'SPGL1']; 130 SPGL1_path = [SMALL_path,FS,'toolboxes',FS,'SPGL1'];
131 if exist([SPGL1_path, FS, 'spgl1-1.7.zip'],'file'), 131 if exist([SPGL1_path, FS, 'spgl1-1.7.zip'],'file'),
132 SPGL1_zip=[SPGL1_path, FS, 'spgl1-1.7.zip']; 132 SPGL1_zip=[SPGL1_path, FS, 'spgl1-1.7.zip'];
133 else 133 else
134 SPGL1_zip='http://www.cs.ubc.ca/labs/scl/spgl1/downloads.php?filename=spgl1-1.7.zip'; 134 SPGL1_zip='http://www.cs.ubc.ca/~mpf/downloads/spgl1-1.7.zip';
135 fprintf('\n\n Downloading toolbox, please be patient\n\n'); 135 fprintf('\n\n Downloading toolbox, please be patient\n\n');
136 end 136 end
137 unzip(SPGL1_zip,SPGL1_path); 137 unzip(SPGL1_zip,SPGL1_path);
138 SPGL1_p=genpath(SPGL1_path); 138 SPGL1_p=genpath(SPGL1_path);
139 addpath(SPGL1_p); 139 addpath(SPGL1_p);
175 fprintf('\n SparseLab Installation Successful!\n'); 175 fprintf('\n SparseLab Installation Successful!\n');
176 catch 176 catch
177 fprintf('\n SparseLab Installation Failed\n'); 177 fprintf('\n SparseLab Installation Failed\n');
178 cd(SMALL_path); 178 cd(SMALL_path);
179 end 179 end
180 cd(SMALL_path);
180 else 181 else
181 fprintf('\n ******************************************************************'); 182 fprintf('\n ******************************************************************');
182 fprintf('\n\n SparseLab is already installed'); 183 fprintf('\n\n SparseLab is already installed');
183 end 184 end
184 %% 185 %%
199 Sparsify_p=genpath(Sparsify_path); 200 Sparsify_p=genpath(Sparsify_path);
200 addpath(Sparsify_p); 201 addpath(Sparsify_p);
201 fprintf('\n Sparsify Installation Successful\n'); 202 fprintf('\n Sparsify Installation Successful\n');
202 catch 203 catch
203 fprintf('\n Sparsify Installation Failed\n'); 204 fprintf('\n Sparsify Installation Failed\n');
204 cd(SMALL_path); 205 end
205 end 206 cd(SMALL_path);
206 else 207 else
207 fprintf('\n ******************************************************************'); 208 fprintf('\n ******************************************************************');
208 fprintf('\n\n Sparsify is already installed'); 209 fprintf('\n\n Sparsify is already installed');
209 end 210 end
210 %% 211 %%
219 else 220 else
220 GPSR_zip='http://www.lx.it.pt/~mtf/GPSR/GPSR_6.0.zip'; 221 GPSR_zip='http://www.lx.it.pt/~mtf/GPSR/GPSR_6.0.zip';
221 fprintf('\n\n Downloading toolbox, please be patient\n\n'); 222 fprintf('\n\n Downloading toolbox, please be patient\n\n');
222 end 223 end
223 unzip(GPSR_zip,GPSR_path); 224 unzip(GPSR_zip,GPSR_path);
225
224 GPSR_p=genpath(GPSR_path); 226 GPSR_p=genpath(GPSR_path);
225 addpath(GPSR_p); 227 addpath(GPSR_p);
226 fprintf('\n GPSR Installation Successful\n'); 228 fprintf('\n GPSR Installation Successful\n');
227 catch 229 catch
228 fprintf('\n GPSR Installation Failed'); 230 fprintf('\n GPSR Installation Failed');
229 cd(SMALL_path); 231 end
230 end 232 cd(SMALL_path);
231 else 233 else
232 fprintf('\n ******************************************************************'); 234 fprintf('\n ******************************************************************');
233 fprintf('\n\n GPSR is already installed'); 235 fprintf('\n\n GPSR is already installed');
234 end 236 end
235 237