Specify callback function to execute when break-interrupt event occurs
You configure BreakInterruptFcn to execute a callback function when a break-interrupt event occurs. A break-interrupt event is generated by the serial port when the received data is in an off (space) state longer than the transmission time for one byte.
If the RecordStatus property value is on, and a break-interrupt event occurs, the record file records this information:
The event type as BreakInterrupt
The time the event occurred using the format day-month-year hour:minute:second:millisecond
To learn how to create a callback function, refer to Creating and Executing Callback Functions.