Way to use parallel computing with nested parfor statements

3 次查看(过去 30 天)
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.

采纳的回答

Jason Ross
Jason Ross 2012-3-13
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by