Specify callback function to execute when run-time error occurs
ErrorFcn property specifies the function
to execute when an error event occurs. A run-time error event is generated
immediately after a run-time error occurs.
Run-time errors include hardware errors and timeouts. Run-time errors do not include configuration errors such as setting an invalid property value.
Run-time error event information is stored in the
You can retrieve any error message with the
ErrorFcn, are executed
only when the video object is in a running state. If you need to use
ErrorFcn callback for error handling during
previewing, you must start the video object before previewing. To
do that without logging data, use a manual trigger.
Read only while running
Character vector, function handle, or cell array