Main Content

slmetric.config.Configuration.new

Class: slmetric.config.Configuration
Namespace: slmetric.config

(To be removed) Create configuration object for customizing the Metrics Dashboard

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

Create an slmetric.config.Configuration object for holding Metrics Dashboard customizations pertaining to metric thresholds and custom metric families. Use the save command to create and store the associated XML configuration file.

Co = slmetric.config.Configuration.new('Name', 'Config') creates a configuration object.

example

Input Arguments

expand all

Name of configuration object in XML file that contains Metrics Dashboard customizations pertaining to metric thresholds and custom metric families.

Data Types: char

Output Arguments

expand all

Name of slmetric.config.Configuration object that contains Metrics Dashboard customizations pertaining to metric thresholds and custom families.

Data Types: char

Examples

expand all

Use the new method to create an slmetric.config.Configuration object. The configuration object contains information on custom metric families and metric thresholds. As an input, specify a configuration object name. This name is then associated with a tag in the configuration object XML file. After adding information to the configuration object, use the slmetric.config.Configuration.save method to create and store the associated XML file.

CONF = slmetric.config.Configuration.new('Name','Config')

Version History

Introduced in R2018b

collapse all

R2022a: Metrics Dashboard will be removed

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.