MATLAB: How to change patternsearch options for paretosearch algorithm

global optimizationGlobal Optimization Toolboxmulti-objective optimizationoptimizationparetosearchpatternsearch

I need to change the options for patternsearch like the 'MeshExpansionFactor' for the paretosearch algorithm. How can i acheive that using optimoptions.
My Code:
oldoptions = optimoptions('patternsearch', 'MeshExpansionFactor', 4.0)
options = optimoptions('paretosearch', 'ParetoSetSize', 500, oldoptions)
[x, fval, exitflag, output] = paretosearch(fun, nvars, [], [], Aeq, beq, lb, ub, [], options);
Error:
Error using optimoptions (line 108)
Invalid option name specified. Provide a character vector or scalar string (such as 'Display').
A list of options can be found on the PARETOSEARCH documentation page.
Error in optimizationn (line 19)
options = optimoptions('paretosearch', 'ParetoSetSize', 500, oldoptions)

Best Answer

Did you look in the documentation of options for paretosearch? It states clearly that MeshExpansionFactor is for patternsearch only.
Obviously, this is not your real problem, it is just your way of addressing your problem. Since the easiest way of addressing your problem is not supported, perhaps you will tell us what you are really trying to do and maybe we will have some alternate suggestions.
Alan Weiss
MATLAB mathematical toolbox documentation