Main Content

slmetric.config.getActiveConfiguration

Namespace: slmetric.config

(To be removed) Obtain file path and name of XML file containing active Metrics Dashboard custom configuration

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

Path = slmetric.config.getActiveConfiguration returns the file path and name of the active Metrics Dashboard custom configuration file.

example

Examples

collapse all

At the MATLAB command line, enter this command to get the active Metrics Dashboard configuration:

slmetric.config.getActiveConfiguration(); 

Output Arguments

collapse all

Full file path to folder containing XML file, which contains the active Metrics Dashboard custom configuration.

Note

Passing an empty string to the slmetric.config.setActionConfiguration function (that is, slmetric.config.setActiveConfiguration('')), resets the configuration to the default, which is the shipping configuration. If you then enter the slmetric.config.getActiveConfiguration method, the method returns an empty array.

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.