Hey Trying to estimate 3 dcm models in parallel using the matlab parfor loops. Anyone know why this isn't working? (I'm not very good at scripting..) See below... Many thanks Josh ----------------------------------------------------------------------------------------------- % 23/5/12, 9.50am matlabpool close matlabpool(3) cd 'C:/Users/jkahan/Documents/MATLAB/Resting_state/dcm3/Sub010'; models = {'DCM_3_002.mat','DCM_3_003.mat','DCM_3_004.mat'}; parfor i = 1:3 ; spm_dcm_estimate models{1,i}; end matlabpool close -----------------------------------------------------------------------------------------