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

    function fireTimerCallback(obj, nExecutions, cb)
%FIRETIMERCALLBACK Ask object to fire matlab callback
%
%  FIRETIMERCALLBACK(OBJ, NEXECS, CALLBACK) executes the callback contained
%  within CALLBACK.  NEXECS is the number of times this task has been
%  executed.

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


xregcallback(cb, obj, struct('TasksExecuted', nExecutions));