www.gusucode.com > mbcmodels 工具箱 matlab 源码程序 > mbcmodels/@localpoly/set.m
function varargout=set(m,Property,Value) %SET set localpoly properties % m=set(m,Property,Value) % Copyright 2000-2011 The MathWorks, Inc. and Ford Global Technologies, Inc. switch lower(Property) otherwise [m.localmod,Found] =set(m.localmod,Property,Value); if ~Found try m.xreglinear=set(m.xreglinear,Property,Value); catch error(message('mbc:localpoly:InvalidProperty', Property)); end end end if nargout==1 varargout{1}=m; else assignin('caller',inputname(1),m); end