Package: matlab.exception
Capture error information for Python exception
Process information from a matlab.exception.PyException
object to
handle Python® errors thrown from Python methods called from MATLAB®. This class is derived from MException
.
You do not construct a matlab.exception.PyException
object explicitly.
MATLAB automatically constructs a PyException
object whenever
Python throws an exception. The PyException
object wraps the original
Python exception.