Stateflow Chart Metric
Metric ID
Metric ID:
mathworks.metrics.StateflowChartCount
Description
Metric Type: Size
Use this metric to count the number of Stateflow® charts at any component level. This
metric is available with Simulink®
Check™. To collect data for this metric, use getMetrics with the metric identifier,
mathworks.metrics.StateflowChartCount.
The slmetric.metric.AggregationMode property setting is
Sum.
Computation Details
Runs on library models.
Analyzes content in masked subsystems.
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 Stateflow charts at the model level.AggregatedValue: Number of charts for component and its subcomponents.Measures: Not applicable.