Class:timer
Stop timer object
stop(t)
stops the timer object,t
. Ift
is an array of timer objects, thestop
method stops each timer.
Thestop
method sets theRunning
property of the timer object to'off'
and executes theStopFcn
callback .
|
Object of class |
Use thestop
method to stop a timer manually. The timer automatically stops when theTimerFcn
callback executes the number of times specified by theExecutionMode
andTasksToExecute
properties or when an error occurs while executing aTimerFcn
callback.