Main Content

jc_0501: Format of entries in a State block

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

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

Version History

Introduced in R2020a