| MATLAB Function Reference | ![]() |
disp(obj)
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.
obj, that is, typing the object name alone, does the same as disp(obj)
In addition to the syntax shown above, you can display summary information for obj by excluding the semicolon when
Creating a timer object, using the timer function
Configuring property values using the dot notation
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
![]() | disp (serial) | display | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |