Contenu principal

edittime.setDisplayIssues

R2026b

Turn model design warnings and errors on or off

Description

edittime.setDisplayIssues(value) turns design errors and warnings on or off. This setting persists for all models. The edittime.setDisplayIssues function is equivalent to selecting Diagnostics > Edit-Time Errors & Warnings. To check whether these messages are on or off, use the edittime.getDisplayIssues function.

example

Examples

collapse all

Turn model design errors and warnings off.

edittime.setDisplayIssues("off")

Check that the model design errors and warnings are turned off.

val = edittime.getDisplayIssues
val =
    'off'

Input Arguments

collapse all

Option to turn model design errors and warnings on or off, specified as "on" or "off".

Data Types: string | char

Version History

Introduced in R2019a