www.gusucode.com > mbcmodels 工具箱 matlab 源码程序 > mbcmodels/@xregoptmgr/setAltMgrs.m

    function om = setAltMgrs(om,alt);
%SETALTMGRS

%  Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc.



for i=1:length(alt)
	if isa(alt{i},'function_handle')
		alt{i}= func2str(alt{i});
	end
end
om.Alternatives= alt;