www.gusucode.com > mbcmodels 工具箱 matlab 源码程序 > mbcmodels/@xregoptmgr/clearFunction.m
function om = clearFunction(om) %CLEARFUNCTION Clear the run function information % % OM = CLEARFUNCTION(OM) clears all of the data pertaining to the run % function: the algorithm, context, run function, cost function and % constraitn function. % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. om.algorithm = []; om.Context = ''; om.costFunc = []; om.RunFcn = []; om.ConstraintFunc = '';