How to interact with model configuration parameters using script

조회 수: 1 (최근 30일)
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 CenterFile Exchange에서 Simulink Environment Customization에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by