getMetrics
Syntax
Description
returns metric results for the specified results
= getMetrics(metricEngine
,metricIDs
)metric.Engine
object for the
metrics specified by metricIDs
. To collect metric results for the
metricEngine
object, use the execute
function. Then, to access the results, use the getMetrics
function.
returns metric results for the artifacts in the specified results
= getMetrics(metricEngine
,metricIDs
,'ArtifactScope',scope
)scope
. For
example, you can specify scope
to be a single design unit in your
project, such as a Simulink® model or an entire model reference hierarchy. A unit is a functional entity in
your software architecture that you can execute and test independently or as part of larger
system tests.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2022a
See Also
metric.Engine
| getAvailableMetricIds
| execute
| generateReport
| updateArtifacts
| Design Cost Model Metrics | Model Testing Metrics (Simulink Check)