global numlabs;
global lab_var;
global lab_res;

numlabs = 16;
matlabpool('open', 'sigma', numlabs);
%pmode('start', 'sigma', numlabs);
%pmode start 2