MATLAB Answers

0

My parallel computing code (R2013b) is very slow

Asked by Sebastiano delre on 21 Jul 2014
Latest activity Answered by Sebastiano delre on 21 Jul 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.

  0 Comments

Sign in to comment.

2 Answers

Answer by Shashank Prasanna on 21 Jul 2014
 Accepted Answer

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:

  0 Comments

Sign in to comment.


Answer by Sebastiano delre on 21 Jul 2014

Thank you!

  0 Comments

Sign in to comment.