openDefaultConfiguration
Class: slmetric.config.Configuration
Package: slmetric.config
Return shipping Metrics Dashboard configuration object in base workspace
Since R2018b
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
Version History
Introduced in R2018b