Main Content

jc_0628: Usage of Saturation 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

Saturation and Saturation Dynamic blocks shall be used to limit physical quantity.

Type conversion shall not be used. Block parameters Upper limit and Lower limit shall not be set.

Custom Parameter

Not Applicable

Example — Correct

The Saturation Dynamic block is limiting physical quality.

Example — Incorrect

The Saturation Dynamic block is not being used to limit physical quantity. Type conversion is being used. The upper and lower limits for the data type maximum and minimum values are set.

Rationale

Sub ID a:

  • Consistent use of Saturation blocks improve maintainability of the model.

Verification

Model Advisor check: Check usage of the Saturation blocks (Simulink Check)

Last Changed

R2020a

Version History

Introduced in R2020a