Why do I receive this error? Error using ==> psoptimset at 297 Unrecognized parameter name 'UseParallel'.
Show older comments
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
More Answers (1)
Edric Ellis
on 18 Aug 2011
1 vote
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.
1 Comment
Ricardo Giglio
on 18 Aug 2011
Categories
Find more on Problem-Based Optimization Setup 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!