Skip to content

__matlab_error__

miscellaneous · scripts/miscellaneous/__matlab_error__.m

Translate an interpreter error (identifier, message) to the text and
identifier MATLAB uses for the same failure.  Called when user code
catches an error, so scripts that test err.identifier / err.message see
MATLAB's values.  Unknown errors come back unchanged.