Main Content
jc_0796: Length restriction for Stateflow data names
Since R2020a
Guideline Publication
Control Algorithm Modeling Guidelines - Using MATLAB®, Simulink®, and Stateflow®
Sub ID Recommendations
NA-MAAB — a, b, c, d
JMAAB — a, b, c, d
MATLAB Versions
All
Rule
Sub ID a
Stateflow data {name} shall be a maximum of 63 characters.
Custom Parameter
Stateflow data name character limit
Rationale
Sub ID a:
Readability is impaired.
Deviation from the rule can result in unintended code behavior
Verification
Model Advisor check: Check length of Stateflow data name (Simulink Check)
Last Changed
R2020a
See Also
Add Stateflow Data (Stateflow)
Set Data Properties (Stateflow)
Version History
Introduced in R2020a