Main Content

jc_0246: Length restriction for parameter name

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 parameter name shall be less than or equal to configured limit. Default value is 63 characters.

Custom Parameter

Maximum parameter name length

Note

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

Rationale

Sub ID a:

  • Code generation may not be possible.

Verification

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

Last Changed

R2020a

Version History

Introduced in R2020a