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

1 view (last 30 days)
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

Accepted Answer

Friedrich
Friedrich on 18 Aug 2011

More Answers (1)

Edric Ellis
Edric Ellis on 18 Aug 2011
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.

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!