Main Content

Check length of parameter names

Check ID: mathworks.jmaab.jc_0246

Guideline: jc_0246: Length restriction for parameter name


Checks if the length of the parameter names in the model adheres to the maximum length restriction of 63 characters.

This check applies to variables in a model, as returned by the Simulink.findVars function.

This check requires a Simulink® Check™ license.

Check Parameterization

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 and JMAAB modeling standards organizations are:

  • NA-MAAB — a

  • JMAAB — a

You can configure the following parameters to customize the check action:

Input ParameterValueDefault Value
Minimum lengthMinimum length for the parameter name.1
Maximum lengthMaximum length for the parameter name.63

Results and Recommended Actions

ConditionRecommended Action
Parameter names in the model does not adhere to the length restriction of 63 characters.Modify the parameter names so that the length of the parameter names is not more than 63 characters.

Capabilities and Limitations

  • 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.

  • Does not support exclusions of blocks or charts.