Check usage of restricted variable names
Guideline: na_0019: Restricted variable names
Check for use of reserved keywords in MATLAB Function block variable names.
Avoid using variable names that conflict with MATLAB® Functions, such as
This check is case insensitive. For example, the check flags keywords
This check requires a Simulink® Check™ license.
This check does not include sub-checks because the MAB modeling guideline provides only one sub ID.
For reference, the MAB guideline sub ID(s) that are recommended for use by the NA-MAAB modeling standards organizations are:
NA-MAAB — a
You can use Model Advisor Configuration Editor to configure this check
to include files with a
.m extension in the analysis. To enable this
feature, in the Input Parameters section, select Check
external .m files referenced in the model.
Results and Recommended Actions
|Variable name conflicts with reserved keyword.||Consider using a different variable name that does not conflict with the reserved keywords.|
Capabilities and Limitations
Runs on library models.
Analyzes content of library-linked blocks. By default, the input parameter Follow links is set to
Analyzes content in masked subsystems. By default, the input parameter Look under masks is set to