Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

TriggerFcn

Specify MATLAB file callback function to execute when trigger event occurs

Description

The TriggerFcn property specifies the MATLAB® file callback function to execute when a trigger event occurs. The toolbox generates a trigger event when a trigger is executed based on the configured TriggerType, and data logging is initiated.

Under most circumstances, the MATLAB file callback function is not guaranteed to complete execution until sometime after the toolbox sets the Logging property to 'on'.

Trigger event information is stored in the EventLog property.

Characteristics

Access

Read/write

Data type

Character vector, function handle, or cell array

Values

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

See Also

Functions

trigger

Properties

EventLog, Logging

Was this topic helpful?