execute
R2026bClass: slmetric.Engine
Namespace: slmetric
(To be removed) Collect metric data
The Metrics Dashboard app, model metrics, slmetric API, and corresponding customizations will be removed in a future release. For more information, see Migrating from Metrics Dashboard to Model Design Dashboards.
Description
Collect model metric data for the specified metric engine object. The model metric data is based on defined architectural components. The components are these Simulink objects:
Model
Subsystem block
Chart
MATLAB Function block
Protected model
execute( collects
metric data for available model metrics, which can include MathWorks
metrics and custom metrics.metric_engine)