Diagnostic Warnings Metric
R2026bNote
The Metrics Dashboard app, model metrics, slmetric API, and corresponding customizations will be removed in a future release. For more information, see Migrating from Metrics Dashboard to Model Design Dashboards.
Metric ID
Metric ID:
mathworks.metrics.DiagnosticWarningsCount
Description
Metric Type: Compliance
Use this metric to calculate the number of Simulink® diagnostic warnings reported during a model update for simulation. This
metric is available with Simulink
Check™. To collect data for this metric, use getMetrics with the metric identifier,
mathworks.metrics.DiagnosticWarningsCount.
The slmetric.metric.AggregationMode property setting is
Sum.
Computation Details
If specified, analyzes the content of library-linked blocks or referenced models.
Results
For this metric, instances of slmetric.metric.Result provide the
following results:
Value: Number of diagnostic warnings reported.AggregatedValue: Number of diagnostic warnings reported for component and its subcomponents.Measure: Not applicable.