Main Content

slmetric.config.setActiveConfiguration

Package: slmetric.config

Activate custom configuration for metric engine to use

Description

example

slmetric.config.setActiveConfiguration(fullfile) sets the custom configuration as the default configuration. When you collect metric data that uses the Metrics Dashboard or the 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.

Examples

collapse all

To set the active metric configuration, at the MATLAB command line:

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

Input Arguments

collapse all

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

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

Data Types: char

Version History

Introduced in R2018b