slmetric.config.Configuration.new

Class: slmetric.config.Configuration
Package: slmetric.config

Create configuration object for customizing the Metrics Dashboard

Syntax

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

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.

example

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

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')

Introduced in R2018b