Main Content

jc_0733: Order of state action types

Sub ID Recommendations

  • NA-MAAB — a, b

  • JMAAB — a, b

MATLAB Versions

All

Rule

Sub ID a

Basic state action types shall be stated in this order:

entry (en)

during (du)

exit (ex)

Custom Parameter

Not Applicable

Example — Correct

Example — Incorrect

Action types are out of order.

Sub ID b

Combined state action types shall be stated in this order:

entry (en)

during (du)

exit (ex)

Custom Parameter

Not Applicable

Example — Correct

Example — Incorrect

Action types are out of order

Rationale

Sub ID a:

  • Consistent modelling improves readability and maintainability.

Verification

Model Advisor check: Check order of state action types (Simulink Check)

Last Changed

R2020a

See Also

Introduced in R2020a