Why do I receive this error? Error using ==> psoptimset at 297 Unrecognized parameter name 'UseParallel'.

Why do I receive this error?
Error using ==> psoptimset at 297 Unrecognized parameter name 'UseParallel'.
when running this block of code
matlabpool open 2
options = psoptimset('UseParallel', 'always', 'CompletePoll', 'on', 'Vectorized', 'off');
It seems I don't have a parameter 'UseParallel' in my psoptimset. I would like to turn this to always in order to run a Monte Carlo experiment over the function "patternsearch". I have MATLAB 7.5.0 2007b.
Thanks in advance
Ricardo

更多回答(1 个)

Parallel Computing Toolbox support was added to Global Optimization Toolbox starting in R2008a, as per the release notes here:
so, if you're using R2007b, you will not be able to take advantage of that.

类别

帮助中心File Exchange 中查找有关 Data Distribution Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by