How to interact with model configuration parameters using script

5 ビュー (過去 30 日間)
Avirneni Pavan Kumar
Avirneni Pavan Kumar 2023 年 1 月 17 日
I need to change the settings of detect overflow from error to warning.
I can do so manually by going into model configuration parameters > Set Diagnostics > Data Validity > Detect overflow to warning.
But how can i change it through matlab script ?
I have set of paramters needs to be changed directly through script rather than doing manually.

採用された回答

Fangjun Jiang
Fangjun Jiang 2023 年 1 月 18 日
vdp;
get_param('vdp','ParameterOverflowMsg');
set_param('vdp','ParameterOverflowMsg','warning')
web(fullfile(docroot, 'simulink/gui/diagnostics-pane-data-validity.html'))

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeConfigure and View Diagnostics についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by