Way to use parallel computing with nested parfor statements

3 Ansichten (letzte 30 Tage)
Chris
Chris am 13 Mär. 2012
I have nested for statements, matlab is barely using 25% of my cpu when it is processing so I thought maybe I need to use the parallel computing toolbox which I have. I tried using the matlabpool(4) for 4 cores and I get an error undefined function or method matlabpool for input arguments of type 'double' I think something may be messed up with my matlab because it doesn't seem to recognize the command at all even without nexted for statements.

Akzeptierte Antwort

Jason Ross
Jason Ross am 13 Mär. 2012
Do you have the toolbox installed? Type 'ver' at the prompt.
If it's there, use "which matlabpool" to see where it's coming from. If nothing shows up, check your path using "path" and see if "toolbox/distcomp" and friends are there. You might need to reset your path to pick it up if something has removed it.

Weitere Antworten (0)

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by