deleteMetrics
R2026bDescription
deleteMetrics(
deletes the metric results that metricEngine,metricIDs)metricIDs identifies from the
metricEngine object. To collect metric results for the
metricEngine object, use the execute
function. To view detailed results, use the generateReport function.
deleteMetrics(
limits the deletion to a specific artifact identified by its digital thread URI.metricEngine,metricIDs,ScopeId=scopeId)
Examples
Input Arguments
Tips
If design changes are not reflected in the design cost metric results, first use the
deleteMetricsfunction to delete themetric.Resultobject, then use theexecutefunction to collect metrics.The
generateReportfunction requires that you execute metric collection in the current session. To recollect design cost metrics, first use thedeleteMetricsfunction to delete themetric.Resultobject, then use theexecutefunction to collect metrics.
Version History
Introduced in R2022a
See Also
metric.Engine | execute | getMetrics | Design Cost Model Metrics