www.gusucode.com > mbc 工具箱 matlab 源码程序 > mbc/@mbcfoundation/@timer/restartTask.m
function hNewTask = restartTask(obj, hTask) %RESTARTTASK Stop and restart the timing for a task % % HNEWTASK = RESTARTTASK(OBJ, HTASK) stops the timing for HTASK and % creates and starts a new task with the same settings as HTASK. % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. hNewTask = obj.hJavaTimer.resetTask(hTask);