Main Content

Check length of Inport and Outport names

Check ID: mathworks.jmaab.jc_0244

Guideline: jc_0244: Length restriction for Inport and Outport names

Description

Checks if the length of the inport and outport 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
Inport or outport block names in the Model does not adhere to the length restriction of 63 characters.Modify the inport or the outport block names so that the length of the block name 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.