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

    function df= dferror(m);
% MODEL/DFERROR degrees of freedom for error 

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




try 
	df= m.Stats.df;
	if isempty(df)
		df=Inf;
	end
catch
	df= Inf;
end