parfor-loop: How can I increase the number of workers?

Hi,
I want to use a parfor-loop, but I have just 2 workers. How can I increase this number?
I thought that you can increase the number of workers in the Configurations Manager. There is a standard (?) manager 'local', but this manager has just 2 workers. And if I want to increase this number, the validation failed afterwards.
Thanks in advance!

Answers (1)

You should be able to increase the number of workers for the 'local' scheduler, but the maximum is 8 (for R2011a) or 12 (for R2011b). Note that the default is set to the number of cores in your machine, and if you exceed that, you may find your PARFOR loops actually slow down.

Categories

Asked:

on 2 Sep 2011

Community Treasure Hunt

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

Start Hunting!