openDefaultConfiguration
Class: slmetric.config.Configuration
Namespace: slmetric.config
(To be removed) Return shipping Metrics Dashboard configuration object in base workspace
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
returns the DT
= slmetric.config.Configuration.openDefaultConfigurationslmetric.config.Configuration
object corresponding to the
shipping Metrics Dashboard configuration in the base workspace. Use this object to add or
remove threshold values corresponding to Compliant, NonCompliant, or Warning categories.
These MetricID
s contain default shipping thresholds:
mathworks.metrics.CloneContent
mathworks.metrics.CyclomaticComplexity
mathworks.metrics.DiagnosticWarningsCount
mathworks.metrics.MatlabCodeAnalyzerWarnings
mathworks.metrics.ModelAdvisorCheckCompliance.hisl_do178
mathworks.metrics.ModelAdvisorCheckCompliance.maab
mathworks.metrics.ModelAdvisorCheckIssues.hisl_do178
mathworks.metrics.ModelAdvisorCheckIssues.maab
You can also use this object to obtain compliance and issues metric data on your Model Advisor configuration.
Output Arguments
Examples
Open the Shipping slmetric.config.Configuration
Object
Use the openDefaultConfiguration
method to add the
shipping slmetric.config.Configuration
object to the base workspace. If
you modify the information that this configuration object contains, use the
slmetric.config.Configuration.save
method to save this information to
an XML file.
Config = slmetric.config.Configuration.openDefaultConfiguration