Documentation Center

  • Trial Software
  • Product Updates

FramesAcquiredFcn

Specify MATLAB file executed when specified number of frames have been acquired

Description

The FramesAcquiredFcn specifies the MATLAB® file function to execute every time a predefined number of frames have been acquired.

A frames acquired event is generated immediately after the number of frames specified by the FramesAcquiredFcnCount property is acquired from the selected video source. This event executes the MATLAB file specified for FramesAcquiredFcn.

Use the FramesAcquiredFcn callback if you must access each frame that is acquired. If you do not have this requirement, you might want to use the TimerFcn property.

Frames acquired event information is not stored in the EventLog property.

Characteristics

Access

Read/write

Data type

String, function handle, or cell array

Values

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

Was this topic helpful?