Main Content

slmetric.dashboard.Configuration.new

Class: slmetric.dashboard.Configuration
Package: slmetric.dashboard

Create configuration object for customizing Metrics Dashboard layout

Description

Create an slmetric.dashboard.Configuration object for holding customizations pertaining to the Metrics Dashboard layout. Use the save command to create and store an associated XML configuration file.

example

Co = slmetric.dashboard.Configuration.new('Name', 'Default') creates a configuration object.

Input Arguments

expand all

Name of configuration object in XML file that contains customizations pertaining to the layout and types of widgets on the Metrics Dashboard.

Data Types: char

Output Arguments

expand all

Name of slmetric.dashboard.Configuration object that contains customizations pertaining to the layout and types of widgets on the Metrics Dashboard.

Data Types: char

Examples

expand all

Use the new method to create an slmetric.dashboard.Configuration object. 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 save method to to create and store an associated XML file.

CONF = slmetric.dashboard.Configuration.new('Name','default')
CONF = 

  Configuration with properties:

        Name: 'default'
    FileName: ''
    Location: ''
Introduced in R2018b