Main Content

slmetric.dashboard.Configuration.new

Class: slmetric.dashboard.Configuration
Namespace: slmetric.dashboard

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

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.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.

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

example

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 create and store an associated XML file.

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

  Configuration with properties:

        Name: 'default'
    FileName: ''
    Location: ''

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.