Main Content

Check usage of Memory and Unit Delay blocks

Check ID: mathworks.jmaab.jc_0623

Guideline: jc_0623: Usage of continuous-time Delay blocks and discrete-time Delay blocks

Description

Checks Memory and Unit Delay blocks with inappropriate sample time.

This check identifies these conditions:

  • Memory blocks with a discrete sample time.

  • Delay and Unit Delay blocks with a non-discrete sample time.

This check requires a Simulink® Check™ and Stateflow® license.

Check Parameterization

This check does not include sub-checks because the MAB modeling guideline provides only one sub ID.

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

  • NA-MAAB — a

  • JMAAB — a

Results and Recommended Actions

ConditionRecommended Action
Memory blocks have sample time that is not continuous.Use Unit Delay block instead of Memory block.
Unit Delay blocks have non-discrete sample time.Use Memory block instead of Unit Delay block.

Capabilities and Limitations

  • 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.

  • Allows exclusions of blocks and charts.