| MATLAB Function Reference | ![]() |
Display information about timer object
Syntax
Description
or obj
disp(obj) displays summary information for the timer object, obj.
If obj is an array of timer objects, disp outputs a table of summary information about the timer objects in the array.
In addition to the syntax shown above, you can display summary information for obj by excluding the semicolon when
timer function
Examples
The following commands display summary information for timer object t.
t = timer Timer Object: timer-1 Timer Settings ExecutionMode: singleShot Period: 1 BusyMode: drop Running: off Callbacks TimerFcn: [] ErrorFcn: [] StartFcn: [] StopFcn: []
This example shows the format of summary information displayed for an array of timer objects.
t2 = timer; disp(timerfind) Timer Object Array Timer Object Array Index: ExecutionMode: Period: TimerFcn: Name: 1 singleShot 1 '' timer-1 2 singleShot 1 '' timer-2
See Also
| disp (memmapfile) | divergence | ![]() |
© 1994-2005 The MathWorks, Inc.