comparison util/SMALL_solve.m @ 228:198d4d9cee74 luisf_dev

Now can use a local configuration file, which is a copy of the default config files, and thus not being commited to the repository.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Thu, 12 Apr 2012 15:06:41 +0100
parents a986ee86651e
children
comparison
equal deleted inserted replaced
227:b50e2b6a9c37 228:198d4d9cee74
46 end 46 end
47 47
48 start=cputime; 48 start=cputime;
49 tStart=tic; 49 tStart=tic;
50 50
51 % solvers configuration file 51 %% solvers configuration
52 run(fullfile(SMALL_path, 'config/SMALL_solve_config.m')); 52 % test if there is a locally modified version of the config
53 % otherwise reads the "default" config file
54 if exist(fullfile(SMALL_path, 'config/SMALL_solve_config_local.m'), 'file') == 2
55 run(fullfile(SMALL_path, 'config/SMALL_solve_config_local.m'));
56 else
57 run(fullfile(SMALL_path, 'config/SMALL_solve_config.m'));
58 end
53 59
54 %% 60 %%
55 % Sparse representation time 61 % Sparse representation time
56 tElapsed=toc(tStart); 62 tElapsed=toc(tStart);
57 solver.time = cputime - start; 63 solver.time = cputime - start;