www.gusucode.com > mbcexpr 工具箱 matlab 源码程序 > mbcexpr/@cgmodexpr/pevcheck.m

    function out=pevcheck(mod)
%PEVCHECK Return ability to calculate PEV
%
%  OK = PEVCHECK(M) returns true if the model M can calculate the Predicted
%  Error Variance of itself.

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


if isempty(mod.model)
   out = 0;
else
   out = pevcheck(mod.model);
end