jc_0795: Usable characters 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 not use underscores at the beginning.
Not Applicable
Sub ID b
Stateflow data {name} shall not use underscores at the end.
Not Applicable
Sub ID c
Stateflow data {name} shall not use consecutive underscores.
Not Applicable
Sub ID d
Stateflow data {name} shall not consist solely of a single reserved MATLAB word.
Not Applicable
Rationale
Sub IDs a, b, c, d:
Readability is impaired.
Deviation from the rule may result in unintended code behavior.
Verification
Model Advisor check: Check usable characters for Stateflow data names (Simulink Check)
Last Changed
R2020a
See Also
Add Stateflow Data (Stateflow)
Set Data Properties (Stateflow)
Version History
Introduced in R2020a