Main Content

jc_0245: Length restriction for signal and bus 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 signal and bus name shall be less than or equal to configured limit. Default value is 63 characters.

Custom Parameter

Maximum signal name length

Maximum bus name length

Note

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

Example — Correct

Signal name length is less than 63 characters.

The length of the hierarchical signal name (full path) bus_all.bus_name_finla.bus_name2.abcdefghijklmn is less than or equal to 63 characters.

Rationale

Sub ID a:

  • Code generation may not be possible.

Verification

Model Advisor check: Check length of signal and bus names (Simulink Check)

Last Changed

R2025a

Version History

Introduced in R2020a