How to interact with model configuration parameters using script
5 ビュー (過去 30 日間)
古いコメントを表示
Avirneni Pavan Kumar
2023 年 1 月 17 日
コメント済み: Avirneni Pavan Kumar
2023 年 1 月 19 日
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.
0 件のコメント
採用された回答
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 Exchange で Configure and View Diagnostics についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!