Main Content
Overall Signal Lines
Since R2022b
Metric ID
slcomp.OverallSignalLines
Description
Use this metric to count the total number of signal lines in a unit or component.
The metric uses find_system
to find the signal lines.
The metric includes:
Simulink® signal lines that the model uses
Commented lines
Each individual branch line
Unterminated lines
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.OverallSignalLines
.
Results
For this metric, instances of metric.Result
return
Value
as the overall number of signal lines
in a unit or component.