Main Content

jc_0731: State name format

Since R2020a

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 state name shall be followed by a new line that does not include a slash (/).

Custom Parameter

Not Applicable

Example — Correct

Example — Incorrect

Rationale

Sub ID a:

  • Readability improves when state names are described consistently.

Verification

Model Advisor check: Check usage of State names (Simulink Check)

Last Changed

R2020a

Version History

Introduced in R2020a