Load Model Advisor Configuration through Command Line

3 vues (au cours des 30 derniers jours)
Mohan Mishra
Mohan Mishra le 7 Mar 2019
Réponse apportée : Mathy le 22 Août 2024
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

Réponses (1)

Mathy
Mathy le 22 Août 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!

Catégories

En savoir plus sur Run Model Advisor Checks dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by