www.gusucode.com > mbc 工具箱 matlab 源码程序 > mbc/@mbcfoundation/@requestcounter/getcount.m

    function c = getcount(obj, request)
%GETCOUNT Get the count for a request
%
%  GETCOUNT(OBJ, REQUEST) returns the number of times a given request has
%  been made.

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


if isprop(obj, request)
    c = obj.(request);
else
    c = 0;
end