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

    function M=revertRanges(M)
%REVERTRANGES Internal function to revert the ranges to the defaults stored in the model

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

[Low,Upp]=range(M.mvModel);
M = setranges(M,[Low(:)';Upp(:)']);