Load Model Advisor Configuration through Command Line

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

回答 (1 件)

Mathy
Mathy 2024 年 8 月 22 日

0 投票

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!

カテゴリ

ヘルプ センター および File ExchangeRun Model Advisor Checks についてさらに検索

製品

質問済み:

2019 年 3 月 7 日

回答済み:

2024 年 8 月 22 日

Community Treasure Hunt

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

Start Hunting!

Translated by