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

    function  hTask = scheduleAt(obj, Delay, Callback)
%SCHEDULEAT Schedule a single-shot task
%
%  HTASK = SCHEDULEAT(OBJ, DELAY, CALLBACK) schedules a task to take place
%  in DELAY milliseconds.  The task will execute CALLBACK, which is a
%  standard MATLAB callback syntax.  HTASK is a reference that can be used
%  to stop or reset the task before it executes.

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


hTask = obj.hJavaTimer.addTask(Callback, Delay);