Mercurial > hg > smallbox
comparison SMALLboxInit.m @ 216:a986ee86651e luisf_dev
Calls SMALLboxInit in the beginning of both solve and learn, in order not to lose the SMALL_path variable.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Thu, 22 Mar 2012 11:41:04 +0000 |
parents | 2882992f9e6e |
children |
comparison
equal
deleted
inserted
replaced
215:f0552f962930 | 216:a986ee86651e |
---|---|
1 function SMALLboxInit(varargin) | |
2 %% SMALLboxInit | 1 %% SMALLboxInit |
3 % | 2 % |
4 % SMALLbox Initialization | 3 % SMALLbox Initialization |
5 % | 4 % |
6 % Important: If running SMALLBox for the first time, | 5 % Important: If running SMALLBox for the first time, |
21 global SMALL_path; | 20 global SMALL_path; |
22 SMALL_path = fileparts(mfilename('fullpath')); | 21 SMALL_path = fileparts(mfilename('fullpath')); |
23 | 22 |
24 addpath(genpath(SMALL_path)); | 23 addpath(genpath(SMALL_path)); |
25 | 24 |
26 end | |
27 | 25 |