Main Content

db_0146: Block layout in conditional subsystems

Since R2020a

Guideline Publication

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

Sub ID Recommendations

  • NA-MAAB — a, b

  • JMAAB — a, b

MATLAB Versions

All

Rule

Sub ID a

Conditional input blocks shall be positioned at the top of the subsystem.

Custom Parameter

Not Applicable

Example — Correct

Example — Incorrect

Sub ID b

The position of these blocks shall be defined by the project:

Custom Parameter

Location layout

Rationale

Sub IDs a, b:

  • Unifying the internal and external layout of the conditional subsystem improves readability of the model.

Verification

Model Advisor check: Check position of conditional blocks and iterator blocks (Simulink Check)

Last Changed

R2020a

Version History

Introduced in R2020a