www.gusucode.com > mbcdata 工具箱 matlab 源码程序 > mbcdata/@cgoptimitem/isStaticMode.m

    function Mode = isStaticMode(obj)
%ISSTATICMODE Check whether the object has been converted to static usage
%
%   MODE = ISSTATICMODE(OBJ) returns true if the object has been converted
%   into static usage mode and false otherwise.  In static mode, access to
%   pointers will not be available - instead subclasses can cache values
%   during the static conversion and use these instead where possible.

%   Copyright 2005 The MathWorks, Inc.


Mode = obj.IsStatic;