Main Content

Model File Count

Metric ID

Metric ID: mathworks.metrics.ModelFileCount

Description

Metric Type: Size

Use this metric to count the number of model files. This metric is available with Simulink® Check™. To collect data for this metric, use getMetrics with the metric identifier, mathworks.metrics.ModelFileCount.

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 files reference by a component and its subcomponents.

  • AggregatedValue: Not applicable.

  • Measures: Not applicable.

See Also

Related Topics