www.gusucode.com > mbcdata 工具箱 matlab 源码程序 > mbcdata/@cgoptim/resetParameters.m
function optim = resetParameters(optim) %RESETPARAMETERS Reset parameters to default values % % OPTIM = RESETPARAMETERS(OPTIM) resets the optimization parameters to % the defaults provided by the algorithm setup. % Copyright 2005 The MathWorks, Inc. [opts, ok, rpt] = setupfromscript(optim, 'Options'); if ok optim.om = pCreateParametersOM(opts); end