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

    function E = set(E,prop,val)
%SET

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



% Set command for exportmodels
%       name - String
%       info - Information structure
%       constraints - Constraints structure

switch lower(prop)
case 'name'
	E = setname(E,val);
case 'info'
	E = setinfo(E,val);
case 'constraints'
	E = setconstraints(E,val);
case 'range'
	E = setranges(E,val);
case 'symbols'
	E = setsymbols(E,val);
end