There is a difference between the multiple-start solvers (MultiStart)
and GlobalSearch) and the other solvers. But basically, when you set the
Display option to 'off', nothing is returned at the command line.
For most solvers, you enter
options = optimset('Display','off');
and include the options argument in your function call:
[x,fval] = fmincon(fun,x0,A,b,Aeq,beq,lb,ub,nonlcon,options);
For multiple start solvers, set the Display option to 'off' in the object:
ms = MultiStart('Display','off');
You can also set Display to 'off' in the problem structure:
opts = optimset('Display','off');
problem = createOptimProblem('fmincon','options',opts,...);
You then call
[x,fval] = run(ms,problem);
For more information, see
http://www.mathworks.com/help/toolbox/gads/bsc595w.html#bsc5975
http://www.mathworks.com/help/toolbox/gads/bsc5_cj.html#bseatx9
Alan Weiss
MATLAB mathematical toolbox documentation