Print

Print


Ah I see :). Thank you!

2016-09-06 23:11 GMT+02:00 PERNET Cyril <[log in to unmask]>:

Hi David


yes easy .. I build a batch per subject that I put into a structure and run that structure in parallel - something like


for subject 1 to N

     matlabbatch{1} ...

    blabla

    batch{subject} = matlabbatch

end


parfor subject 1 to N

       spm_jobman(run,batch{subject})

end


Cyril




From: SPM (Statistical Parametric Mapping) <[log in to unmask]> on behalf of David Hofmann <[log in to unmask]>
Sent: 06 September 2016 21:10:46
To: [log in to unmask]
Subject: [SPM] Use SPM batch system with parallel processing in matlab
 
Hi all,

is there any way to use the SPM batch system with parallel processing in Matlab (e.g. parfor)?

greetings

David

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.