Main Content

Check usable characters for parameter names

Check ID: mathworks.jmaab_v6.jc_0232

Guideline: jc_0232: Usable characters for parameter names


Checks if parameter names in a model adhere to the following guideline standards.

  • Do not end with an underscore.

  • Do not have consecutive underscores.

  • Do not coincide with reserved MATLAB® words.


Reserved MATLAB words include the following:

This check requires a Simulink® Check™ license.

Check Parameterization

This check contains sub-checks that correspond to sub IDs specified in the JMAAB modeling guidelines. You can use the Model Advisor Configuration Editor to specify which sub IDs (one or multiple) to execute.

For reference, the guideline sub ID(s) that are recommended for use by the JMAAB modeling standards organizations are:

  • JMAAB — a, b, c

Results and Recommended Actions

Guideline Sub IDConditionRecommended Action
jc_0232_a: Underscore at the endOne or more parameter names end with an underscore ("_"). Do not end parameter names with underscores.
jc_0232_b: Consecutive underscoresOne or more parameter names have consecutive underscores. Do not use consecutive underscores in parameter names.
jc_0232_c: Single reserved MATLAB wordThe parameter name is a reserved MATLAB word.Do not use reserved MATLAB words as parameter names.

Capabilities and Limitations

  • Simulink semantics limit the use of parameter names that use invalid characters, or start with a number, underscore, or reserved MATLAB word.

  • Analyzes content of library-linked blocks. By default, the input parameter Follow links is set to on.

  • Analyzes content in masked subsystems. By default, the input parameter Look under masks is set to graphical.

  • Supports exclusions of blocks or charts.