Main Content

jc_0241: Length restriction for model file 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 model file name shall be less than or equal to configured limit. Default value is 63 characters (not including dots and extension).

Note

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

Custom Parameter

Maximum model file name length

Rationale

Sub ID a:

  • Possible that a long file name cannot be referred to in the model reference.

Verification

Model Advisor check: Check length of model file name (Simulink Check)

Last Changed

R2025a

Version History

Introduced in R2020a