Main Content

jc_0792: Unused Data

Since R2020a

Guideline Publication

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

Sub ID Recommendations

  • NA-MAAB — a, b

  • JMAAB — a, b

MATLAB Versions

All

Rule

Sub ID a

The data dictionary (sldd) shall define only the data that is used in the Simulink or Stateflow Coder™ model.

Custom Parameter

Types of data dictionary

Sub ID b

The model workspace shall define only the data that is used in the Simulink or Stateflow model.

Custom Parameter

Not Applicable

Rationale

Sub IDs a, b:

  • Unused data can affect maintainability and operability.

Verification

Model Advisor check: Check unused data in Simulink Model (Simulink Check)

Last Changed

R2020a

Version History

Introduced in R2020a