My parallel computing code (R2013b) is very slow

2 visualizaciones (últimos 30 días)
Sebastiano delre
Sebastiano delre el 21 de Jul. de 2014
Respondida: Sebastiano delre el 21 de Jul. de 2014
Hi! I am trying to use parallel computing and parfor loops with my R2013b MatLab version. I can already use parfor cycles but they are slow, a bit slower that the corresponding for cycle. Why is that? When I write parpool in the command window, I get: undefined function or variable 'parpool' Thank you for your help, Sebastiano.

Respuesta aceptada

Shashank Prasanna
Shashank Prasanna el 21 de Jul. de 2014
If you have Parallel Computing Toolbox installed you shouldn't see the error message. Confirm you have Parallel Computing Toolbox installed by typing the following on the command line:
>> ver
If you are using an earlier of MATLAB, replace parpool with matlabpool
Take a look at the release notes for 13b:

Más respuestas (1)

Sebastiano delre
Sebastiano delre el 21 de Jul. de 2014
Thank you!

Categorías

Más información sobre Parallel Computing Fundamentals en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by