Main Content

Overall Blocks

Since R2022b

Metric ID

slcomp.OverallBlocks

Description

Use this metric to count the total number of blocks 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.OverallBlocks.

Results

For this metric, instances of metric.Result return Value as the number of overall blocks that a unit or component contains.

See Also

Related Topics