no speed improvement using 'parfor'
Ältere Kommentare anzeigen
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
Akzeptierte Antwort
Weitere Antworten (1)
Sean de Wolski
am 1 Okt. 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.
Kategorien
Mehr zu Parallel for-Loops (parfor) finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!