No BSD License  

Highlights from
Optimization Tips and Tricks

from Optimization Tips and Tricks by John D'Errico
Tips and tricks for use of the optimization toolbox, linear and nonlinear regression.

optimplot(x, optimValues, state)
function stop = optimplot(x, optimValues, state)
% plots the current point of a 2-d otimization
global optimemory
stop = false;
optimemory(end+1,:) = x;

Contact us at files@mathworks.com