Main Content

jc_0621: Usage of Logical Operator blocks

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

The icon shape for the Logical Operator block shall be set to rectangular.

Custom Parameter

Not Applicable

Example — Correct

Example — Incorrect

Rationale

Sub ID a:

  • When describing the same function, using a consistent expression improves readability. Since "characteristics” shapes are similar, the risk of misinterpretation is greater than with rectangular shapes.

Verification

Model Advisor check: Check icon shape of Logical Operator blocks (Simulink Check)

Last Changed

R2020a

Version History

Introduced in R2020a