Main Content

jc_0627: Usage of Discrete-Time Integrator blocks

Sub ID Recommendations

  • NA-MAAB — a

  • JMAAB — a, b

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

Sub ID b

When Discrete-Time Integrator block parameters Upper saturation limit and Lower saturation limit are defined as Simulink.Parameter, parameter Data type shall be set to auto.

Custom Parameter

Not Applicable

Example — Correct

Example — Incorrect

Rationale

Sub ID a:

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

Sub ID b:

  • Simulation errors occur when Data type is set to a value other than auto, single, or double.

Verification

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

Last Changed

R2020a

Introduced in R2020a