Detect model design errors and warnings
edittime.setDisplayIssues(value)
example
edittime.setDisplayIssues(value) function sets whether to display model design errors and warnings while you design your model. This function is equivalent to selecting Diagnostics > Edit-Time Errors & Warnings. This setting persists for all models.
value
collapse all
By default, model design errors and warnings are visible while you edit a model. You can turn them off. At the MATLAB command line, enter:
edittime.setDisplayIssues('off')
To turn on errors and warnings, at the MATLAB command line, enter:
edittime.setDisplayIssues('on')
To enable warnings and errors while you edit your model, set value to on. To disable warnings and errors while you edit, set value to off.
on
off
Data Types: char
char
edittime.getDisplayIssues | Simulink Editor
edittime.getDisplayIssues