Main Content

jc_0770: Position of transition label

Since R2020a

Guideline Publication

Control Algorithm Modeling Guidelines - Using MATLAB®, Simulink®, and Stateflow®

Sub ID Recommendations

  • NA-MAAB — No recommendations

  • JMAAB — a1/a2

MATLAB Versions

All

Rule

Sub ID a1

Transition labels are positioned at the transition line point of origin.

Custom Parameter

Not Applicable

Example — Correct

Transition labels are positioned at the point of origin.

Example — Incorrect

The positioning of transition labels is inconsistent and do not correspond to the transition line.

Sub ID a2

Transition labels are positioned near the center of the transition line.

Custom Parameter

Not Applicable

Example — Correct

Transition labels are positioned near the center of the transition line.

Example — Incorrect

The positioning of transition labels is inconsistent and do not correspond to the transition line.

Rationale

Sub IDs a1, a2:

  • Consistent positioning of transition labels makes the correspondence between label and line easier to understand.

Verification

Model Advisor check: Check placement of Label String in Transitions (Simulink Check)

Last Changed

R2020a

Version History

Introduced in R2020a