How to interact with model configuration parameters using script
1 view (last 30 days)
Show older comments
Avirneni Pavan Kumar
on 17 Jan 2023
Commented: Avirneni Pavan Kumar
on 19 Jan 2023
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 Comments
Accepted Answer
Fangjun Jiang
on 18 Jan 2023
vdp;
get_param('vdp','ParameterOverflowMsg');
set_param('vdp','ParameterOverflowMsg','warning')
web(fullfile(docroot, 'simulink/gui/diagnostics-pane-data-validity.html'))
More Answers (0)
See Also
Categories
Find more on Simulink Environment Customization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!