Callback function file to execute immediately after logging stops
When a stop event occurs, the function specified in StopFcn is passed two parameters: Obj and EventInfo. Obj is the object associated with the event, and EventInfo is an event structure containing the fields Type and Data. The Type field is set to 'Stop'. The Data field contains a structure with the fields given below.
The time, as a MATLAB® date vector, that the event occurred.
The group name.
The number of records acquired in the current logging session at the time the event occurred.
Stop event information is stored in the EventLog property.
string, function handle, or cell array
The default value is an empty matrix ().