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

    function OK= checkmodel(m)
%CHECKMODEL

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



OK=1;

if ~isa(m.param,'network')
   error(message('mbc:xregnnet:InvalidModel'))
end