Main Content

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

Introduced in R2020a