Main Content

edittime.setDisplayIssues

Detect model design errors and warnings

Description

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.

example

Examples

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')

Input Arguments

collapse all

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.

Data Types: char

Version History

Introduced in R2019a