Check unused data in Simulink Model
Check ID:
mathworks.jmaab.jc_0792
Guideline: jc_0792: Unused Data
Description
Identifies unused data in the model workspace and data dictionary.
This check requires a Simulink® Check™ license.
Check Parameterization
This check contains sub-checks that correspond to the sub IDs specified in the MAB and JMAAB modeling guidelines. You can use the Model Advisor Configuration Editor to specify which sub IDs (one or multiple) to execute.
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, b
JMAAB — a, b
Results and Recommended Actions
Guideline Sub ID | Condition | Recommended Action |
---|---|---|
jc_0792_a: Check for unused data in Data Dictionary. | One or more data variables in the data dictionary are unused. | Consider removing the unused data variables. |
jc_0792_b: Check for unused data in Model Workspace. | One or more data variables in the model workspace are unused. | Consider removing the unused data variables. |
Capabilities and Limitations
Does not run on library models.
Allows exclusions of blocks or charts.