tf = bdIsDirty(bd)
returns whether the specified model, subsystem, or library has unsaved changes. Unsaved
changes can include changes to the block diagram, configuration parameters, or
properties.
bd — Name or handle of loaded model, subsystem, or library numeric array | string array | character vector | cell array of character vectors
Name or handle of loaded model, subsystem, or library, specified as a numeric array,
string array, character vector, or cell array of character vectors.
You cannot check whether blocks, such as Subsystem blocks, have
unsaved changes. You can check whether referenced subsystems have unsaved changes. For
more information, see Subsystem Reference.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.