https://se.mathworks.com/help/slcheck/padv/ref/padv.builtin.task.collectmetrics-class.html
padv.builtin.task.CollectMetrics - Task for collecting model design and testing metrics - MATLAB
The padv.builtin.task.CollectMetrics class provides a task that can collect model design and testing metrics using the metric.Engine API for the Model Design...
design and testing