Main Content

jc_0627: Usage of Discrete-Time Integrator 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

Discrete-Time Integrator block parameters Upper saturation limit and Lower saturation limit shall be defined.

Custom Parameter

Not Applicable

Example — Correct

Example — Incorrect

Note

When Discrete-Time Integrator block parameters Upper saturation limit and Lower saturation limit, are defined with parameter objects such as Simulink.Parameter, the parameter, Data type should be set to auto. Simulation errors occur when Data type is set to a value other than auto, single, or double.

Rationale

Sub ID a:

  • Avoids block output overflow and prevents other computation blocks that use the output of this block from producing unexpected results.

Verification

Model Advisor check: Check usage of Discrete-Time Integrator block (Simulink Check)

Last Changed

R2024b

Version History

Introduced in R2020a