Main Content

jc_0247: Length restriction for block names

Guideline Publication

Control Algorithm Modeling Guidelines - Using MATLAB®, Simulink®, and Stateflow®

Sub ID Recommendations

  • NA-MAAB — a

  • JMAAB — a

MATLAB Versions

All

Rule

Sub ID a

The number of characters in the block name shall be less than or equal to configured limit. Default value is 63 characters.

Exception

Inport and Outport blocks

Custom Parameter

Maximum block name length

Note

The MATLAB limit for the number of characters you can use in block names is 2048.

Rationale

Sub ID a:

  • Code generation may not be possible.

Verification

Model Advisor check: Check length of block names (Simulink Check)

Last Changed

R2025a

Version History

Introduced in R2020a