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

    function m= compress(m,EvalMode)
%COMPRESS reduce amount of information stored in model
%
% L= compress(L,EvalMode)

% Copyright 2006-2009 The MathWorks, Inc. and Ford Global Technologies, Inc.


if nargin>1 && EvalMode~=0 && EvalMode~=3 
    % remove constraints
    m.constraints = [];
end