www.pudn.com > starter.zip > callOutput.m, change:2011-01-04,size:385b


function [] = callOutput(outputFcn,x,state,i,funEvals,f,t,gtd,g,d,opt,varargin) 
 
optimValues.iteration = i; 
optimValues.funccount = funEvals; 
optimValues.fval = f; 
optimValues.stepsize = t; 
optimValues.directionalderivative = gtd; 
optimValues.gradient = g; 
optimValues.searchdirection = d; 
optimValues.firstorderopt = opt; 
 
feval(outputFcn, x,optimValues,state,varargin{:});