StopFcn

Specify MATLAB file executed when stop event occurs

Description

The StopFcn property specifies the MATLAB® file function to execute when a stop event occurs. A stop event occurs immediately after you issue the stop command.

The StopFcn callback executes synchronously. Under most circumstances, the image acquisition object will be stopped and the Running property will be set to 'off' by the time the MATLAB file completes execution.

Stop event information is 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 ([]).

See Also

Properties

EventLog, Running

Was this topic helpful?