www.gusucode.com > mbc 工具箱 matlab 源码程序 > mbc/@mbcmodel/@model/pGetModelStatus.m

    function ms = pGetModelStatus(m)
%PGETMODELSTATUS Private method to allow access to ModelStatus property.
%
%   MS = PGETMODELSTATUS(M)
%
%   It is intended that the Status property is used to access this
%   information. However, mbcmodel.response needs access to the raw
%   ModelStatus number, and this methods provides that access.  It is not
%   intended to be called from anywhere else.

%   Copyright 2006 The MathWorks, Inc.

ms = m.ModelStatus;