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 Parameter | Value | Default Value | 
|---|---|---|
| Minimum length | Minimum length for the folder path. | 1 | 
| Maximum length | Maximum length for the folder path. | 64 | 
Note
The MATLAB limit for the number of characters you can use in block names is 2048.
Results and Recommended Actions
| Condition | Recommended 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.