| External Interfaces | ![]() |
Specify the M-file callback function to execute when a predefined period of time passes.
Description
You configure TimerFcn to execute an M-file callback function when a timer event occurs. A timer event occurs when the time specified by the TimerPeriod property passes. Time is measured relative to when the serial port object is connected to the device with fopen.
If the RecordStatus property value is on, and a timer event occurs, the record file records this information:
Timer
Some timer events might not be processed if your system is significantly slowed or if the TimerPeriod value is too small.
Refer to Creating and Executing Callback Functions to learn how to create a callback function.
Characteristics
| Read only |
Never |
| Data type |
Callback function |
Values
The default value is an empty string.
Functions
Properties
| Timeout | TimerPeriod | ![]() |
© 1994-2005 The MathWorks, Inc.