www.gusucode.com > mbcmodels 工具箱 matlab 源码程序 > mbcmodels/@xreglinear/updateallparameters.m
function m= updateallparameters(m,b); %XREGLINEAR/UPDATEALLPARAMETERS % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. m.Beta=b; m.TermsOut= b==0; if length(m.TermStatus)~=length(b) m.TermStatus= 3*ones(size(b)); end