no speed improvement using 'parfor'
Show older comments
Hi
i'm using parfor in one of my loops to speed up the process but Matlab only uses 1 cpu, thus it has the same operating speed as without parfor (and i have 4 cpus). How come ?
thanks
Jeff
Accepted Answer
More Answers (1)
Sean de Wolski
on 1 Oct 2013
What release are you using? If you are using a release before R2013b, did you start a matlabpool?
matlabpool open %open workers for parfor
If you're on R2013b, the parpool should start automatically unless you turn this off in preferences.
Categories
Find more on Parallel for-Loops (parfor) in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!