Class: timer
Stop timer object
stop(t)
stops the timer object, t
.
If t
is an array of timer objects, the stop
method
stops each timer.
The stop
method sets the Running
property
of the timer object to 'off'
and executes the StopFcn
callback
.
|
Object of class |
Use the stop
method to stop a timer
manually. The timer automatically stops when the TimerFcn
callback
executes the number of times specified by the ExecutionMode
and TasksToExecute
properties
or when an error occurs while executing a TimerFcn
callback.