MException
Construct an exception object.
Syntax
Section titled “Syntax”ME = MException(identifier, message)ME = MException(identifier, message, v1, v2, ...)Description
Section titled “Description”Creates a structured exception object that can be examined or rethrown. Useful with try/catch for programmatic error handling. identifier is a string of the form 'Component:Tag'; message follows sprintf conventions.
Examples
Section titled “Examples”ME = MException('MyApp:badRange', 'Value %d out of range', x)throw(ME)