Main Content

Check length of signal and bus names

Check ID: mathworks.jmaab.jc_0245

Guideline: jc_0245: Length restriction for signal and bus names

Description

Checks if the length of the signal or bus names adheres to the maximum length restriction of 63 characters.

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 input parameters to customize the check action:

Input ParameterValueDefault Value
Minimum lengthMinimum length for the folder path.1
Maximum lengthMaximum length for the folder path.64

Results and Recommended Actions

ConditionRecommended Action
Signal or bus name in the model does not adhere to the length restriction of 63 characters.Modify the signal or the bus names in the model so that the length of the names is not more than 63 characters.

Capabilities and Limitations

  • Runs on library models.

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

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

  • Allows exclusions of blocks and charts.