Main Content

Check length of block names

Check ID: mathworks.jmaab.jc_0247

Guideline: jc_0247: Length restriction for block names

Description

Checks if the length of the block names in the model 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
Block names in the model does not adhere to the length restriction of 63 characters.Modify the block names so that the length of the block names is not more than 63 characters.

Capabilities and Limitations

  • Runs on library models.

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

  • Allows exclusions of blocks and charts.

Edit-Time Checking

This check is supported by edit-time checking.