Load Model Advisor Configuration through Command Line

4 views (last 30 days)
I want to load model advisor Configuration through command line.
I am using code as below to load the configuration but it is not getting loaded
ModelAdvisor.setConfiguration('qeAPIConfigFilePath.mat');
Can some one help me on this

Answers (1)

Amith
Amith on 22 Aug 2024
Hi Mohan,
To set your Model Advisor configuration via the command line in MATLAB releases R2022a and later, you can use the following command:
ModelAdvisor.setModelConfiguration(ModelName,ConfigFile)
To retrieve the Model Advisor configuration, use this command:
ConfigFileName = ModelAdvisor.getModelConfiguration(ModelName)
For more information about these functions, you can visit the links below:
Documentation for configuring the model configuration: https://www.mathworks.com/help/slcheck/ref/modeladvisor.setmodelconfiguration.html
I hope these resources help!

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!