TimerFcn

Specify MATLAB file callback function to execute when timer event occurs

Description

The TimerFcn property specifies the MATLAB® file callback function to execute when a timer event occurs. A timer event occurs when the time period specified by the TimerPeriod property expires.

The toolbox measures time relative to when the object is started with the start function. Timer events stop being generated when the image acquisition object stops running.

    Note   Some timer events might not be processed if your system is significantly slowed or if the TimerPeriod value you specify is too small.

Characteristics

Access

Read/write

Data type

String, function handle, or cell array

Values

The default value is an empty matrix ([]).

See Also

Functions

start, stop

Properties

TimerPeriod

Was this topic helpful?