Azzera filtri
Azzera filtri

Way to use parallel computing with nested parfor statements

2 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

Jason Ross
Jason Ross il 13 Mar 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.

Più risposte (0)

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by