Main Content

slmetric.dashboard.setActiveConfiguration

Namespace: slmetric.dashboard

(To be removed) Activate custom metric dashboard layout

The Metrics Dashboard user interface, metricdashboard function, slmetric package API, and corresponding customizations will be removed in a future release. For more information, see Migrating from Metrics Dashboard to Model Maintainability Dashboard.

Description

example

slmetric.dashboard.setActiveConfiguration(fullfile) sets a custom Metrics Dashboard layout as the default configuration. When you collect metric data by using the Metrics Dashboard, the metric engine uses this custom layout.

Note

Passing an empty string to this function (that is, slmetric.dashboard.setActiveConfiguration('')), resets the configuration to the default, shipping configuration.

Examples

collapse all

At the MATLAB command line, enter this command to set the active metric configuration:

slmetric.config.setActiveConfiguration('C:\temp\MyConfig.xml'); 

Input Arguments

collapse all

Full file path to folder containing XML file that contains Metrics Dashboard custom configurations.

Example: 'C:\temp\MyConfig.xml'

Data Types: char

Version History

Introduced in R2018b

collapse all

R2022a: Warns

The Metrics Dashboard user interface, metricdashboard function, slmetric package API, and corresponding customizations will be removed in a future release. For more information, see Migrating from Metrics Dashboard to Model Maintainability Dashboard.