New identifier for the last warning, specified as a character vector or
string scalar. Use the warning identifier to help identify the source of the
warning or to control a selected subset of the warnings in your
program.
A warning identifier includes one or more component
fields and a mnemonic field. Fields must be separated
with colon. For example, a warning identifier with a component field
component
and a mnemonic field
mnemonic
is specified as
'component:mnemonic'
. The component and mnemonic
fields must each begin with a letter. The remaining characters can be
alphanumerics (A–Z, a–z, 0–9) and underscores. No white-space characters can
appear anywhere in the warning identifier. For more information on creating
identifiers, see MException
.
Example: 'MATLAB:singularMatrix'
Example: 'MyProject:myFunction:notEnoughInputs'