slmetric.config.setActiveConfiguration
R2026bNamespace: slmetric.config
(To be removed) Activate custom configuration for metric engine to use
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
slmetric.config.setActiveConfiguration(
sets the custom configuration as the default configuration. When you collect metric data
that uses the Metrics Dashboard or the fullfile) slmetric.Engine
execute method, the metric engine uses this custom configuration.
Note
Passing an empty string to this function (that is,
slmetric.config.setActiveConfiguration('')), resets the
configuration to the default, which is shipping configuration.