Skip to content

MException

miscellaneous · scripts/miscellaneous/MException.m

: ME = MException (id, msg)
: ME = MException (id, fmt, …)

Create a MATLAB-compatible exception object.

msg is a sprintf format (even with no extra arguments, so %% becomes %).