Main Content

ModelAdvisor.setDefaultConfiguration

Namespace: ModelAdvisor

Set the Model Advisor configuration

Since R2020a

Description

ModelAdvisor.setDefaultConfiguration('ConfigFilePath') specifies the configuration for the Model Advisor. The configuration defines the organization of the folders and checks in the Model Advisor.

To reset the configuration to the default configuration, pass an empty string to this function (that is, ModelAdvisor.setDefaultConfiguration('')). If you do not specify a custom configuration as the default, the default is the shipping configuration.

Note

You create a custom configuration by using the Model Advisor Configuration Editor. You can specify your custom configuration as the default configuration.

example

Examples

collapse all

To set the configuration that is applied to the Model Advisor, at the MATLAB® command line:

ModelAdvisor.setDefaultConfiguration('C:\temp\demoConfiguration.json'); 

Input Arguments

collapse all

Full file path to folder containing the configuration file that contains Model Advisor custom configuration.

Example: 'C:\temp\demoConfiguration.json'

Data Types: char

Version History

Introduced in R2020a