Class: slmetric.Engine
Package: slmetric
Access model metric data
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
)
slmetric.metric.getAvailableMetrics
| slmetric.metric.Result
| slmetric.metric.ResultCollection