Specify MATLAB file callback function to execute when trigger event occurs
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.
String, function handle, or cell array
The default value is an empty matrix ().