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

    function [m,OK]= InitModel(m,varargin);
% xreglinear/INITSTORE initialises model for use by stats and leastsq 

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



[m2,OK]= InitModel(get(m,'currentmodel'),varargin{:});
set(m,'currentmodel',m2);