Diagnostic Warnings Metric
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.