Main Content

Check usage of Discrete-Time Integrator block

Check ID: mathworks.jmaab.jc_0627

Guideline: jc_0627: Usage of Discrete-Time Integrator blocks

Description

Checks use of the Discrete-Time Integrator block.

For Discrete-Time Integrator blocks, check if:

  • Block parameter Limit output is selected.

  • Saturation limits is defined using a Simulink.Parameter or MPT.Parameter object whose data type is auto.

This check requires a Simulink® Check™ license.

Check Parameterization

This check contains sub-checks that correspond to sub IDs specified in the JMAAB modeling guidelines. You can use the Model Advisor Configuration Editor to specify which sub IDs (one or multiple) to execute.

For reference, the guideline sub ID(s) that are recommended for use by the NA-MAAB and JMAAB modeling standards organizations are:

  • NA-MAAB — a

  • JMAAB — a, b

Results and Recommended Actions

Guideline Sub IDConditionRecommended Action
jc_0627_a: Check Saturation limit settings of Discrete-Time Integrator blocksBlock parameter Limit output is cleared.Select the Discrete-Time Integrator block parameter Limit output.
jc_0627_b: Check Saturation limit settings of Discrete-Time Integrator blocksSaturation limit is defined by a Parameter object whose data type is not auto.Change the data type for the Parameter object to auto.

Capabilities and Limitations

  • Runs on library models.

  • Supports exclusions.

  • Analyzes content of library-linked blocks. By default, the input parameter Follow links is set to on.

  • Analyzes content in masked subsystems. By default, the input parameter Look under masks is set to graphical.

See Also