Main Content
Overall States
Since R2022b
Metric ID
slcomp.OverallStates
Description
Use this metric to count the total number of states in a unit or component.
Supported Artifacts
You can collect this metric for:
To control what the dashboard classifies as a unit or component, see Categorize Models in Hierarchy as Components or Units.
Collection
To collect data for this metric, use getMetrics
with the metric
identifier slcomp.OverallStates
.
Results
For this metric, instances of metric.Result
return
Value
as the overall number of states in a
unit or component.