getMetrics
Class: slmetric.Engine
Namespace: slmetric
(To be removed) Access model metric data
The Metrics Dashboard user interface, metricdashboard function, slmetric package API, and corresponding customizations will be removed in a future release. For more information, see Migrating from Metrics Dashboard to Model Maintainability Dashboard.
Syntax
Description
Access model metric data from the specified model metric engine. When you call execute, the metric engine collects the metric data. The
            returned metric data is based on defined architectural components. The components are
            these Simulink objects:
Model
Subsystem block
Chart
MATLAB Function block
Protected model
                returns metric data for all metrics that the
                metric engine executed.Results = getMetrics(metric_engine)
                returns metric data for the specified metric identifiers.Results = getMetrics(metric_engine,MetricIDs)
                returns metric data for the specified metric identifiers and specifying how to
                aggregate data.Results = getMetrics(metric_engine,MetricIDs,'AggregationDepth',ad)