Main Content

Overall Goto Blocks

Since R2022b

Metric ID

slcomp.OverallGotos

Description

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

Results

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

See Also

Related Topics