Library Content Metric
Metric ID
Metric ID:
mathworks.metrics.LibraryContent
Description
Metric Type: Architecture
Use this metric to calculate the fraction of total number of components that are
linked library blocks. This metric is available with Simulink®
Check™. To collect data for this metric, use getMetrics
with the metric identifier,
mathworks.metrics.LibraryContent
.
The slmetric.metric.AggregationMode
property setting is
None
.
Computation Details
If specified, analyzes the content of library-linked blocks or referenced models.
Results
For this metric, instances of slmetric.metric.Result
provide the
following results:
Value
: Fraction of the total number of subcomponents that are linked library blocks.AggregatedValue
: Not applicable.Measures
: Vector containing the number of linked library blocks and total number of components