jc_0501: Format of entries in a State block
Sub ID Recommendations
NA-MAAB — a
JMAAB — a
MATLAB Versions
All
Rule
Sub ID a
A state action statement shall not be written on the same line as a state action type.
Custom Parameter
Not Applicable
Example — Correct
Example — Incorrect
Rationale
Sub ID a:
Readability is impaired.
Verification
Model Advisor check: Check entry formatting in State blocks in Stateflow charts (Simulink Check)
Last Changed
R2020a
See Also
JMAAB guideline jc_0501, which is available in Control Algorithm Modeling Guidelines Using MATLAB, Simulink, and Stateflow on the MathWorks® website.
Represent Operating Modes by Using States (Stateflow)
Version History
Introduced in R2020a