Main Content

File Metric

Metric ID

Metric ID: mathworks.metrics.FileCount

Description

Metric Type: Size

Use this metric to count the number of model and library files used by a specific component and its subcomponents. This metric is available with Simulink® Check™. To collect data for this metric, use getMetrics with the metric identifier, mathworks.metrics.FileCount.

The slmetric.metric.AggregationMode property setting is None.

Computation Details

  • Runs on library models.

  • Analyzes content in masked subsystems.

  • 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: Number of model and library files.

  • AggregatedValue: Not applicable.

  • Measures: Not applicable.

See Also

Related Topics