no speed improvement using 'parfor'
Mostrar comentarios más antiguos
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
Respuesta aceptada
Más respuestas (1)
Sean de Wolski
el 1 de Oct. de 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.
Categorías
Más información sobre Parallel for-Loops (parfor) en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!