Main Content
matlab.exception.PyException Class
Namespace: matlab.exception
Capture error information for Python exception
Description
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
.
Creation
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.
Properties
Examples
Version History
Introduced in R2014b