Simulink Signal Lines
Metric ID
slcomp.SimulinkSignalLines
Description
Use this metric to count the number of signal lines in each layer of 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.SimulinkSignalLines
.
Results
For this metric, instances of metric.Result
return
Value
as the number of signal lines in each
layer of a unit or component.