Main Content

jc_0161: Definition of Data Store Memory blocks

Since R2020a

Guideline Publication

Control Algorithm Modeling Guidelines - Using MATLAB®, Simulink®, and Stateflow®

Sub ID Recommendations

  • NA-MAAB — No recommendations

  • JMAAB — a, b

MATLAB Versions

All

Rule

Sub ID a

The smallest scope level shall be used to define the Data Store Memory block.

Custom Parameter

Not Applicable

Sub ID b

Only data required for execution and code generation shall be defined in the Data Store Memory block.

Custom Parameter

Not Applicable

Rationale

Sub ID a:

  • Readability improves when usage is limited.

Sub ID b:

  • Unused data can affect maintenance and operability.

Verification

Model Advisor check: Check for usage of Data Store Memory blocks (Simulink Check)

Last Changed

R2020a

Version History

Introduced in R2020a