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

    function m= setcode(m,varargin)
%SETCODE Set new coding limits and functions
%
%  M = SETCODE(M, [L,U], g, [L_t,U_t])

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


Inputs = setcode(getInputs(m),varargin{:});
if nargin==4
    m = setInputs(m,Inputs,true);
else
    m = setInputs(m,Inputs);
end