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

    function [L,U]=range(M);
% Exportmodel \ range
% R = range(m)
% [L,U] = range(m)

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


if nargout == 1
	L = M.ranges;
else
	L=M.ranges(1,:);
	U=M.ranges(2,:);
end