Close any or all Simulink system windows unconditionally
bdclose closes the current system window unconditionally and
without confirmation. Any changes made to the system since it was last saved are
lost. To find out the current system, use
gcs. If a model was only loaded,
bdclose clears the model from memory.
bdclose('all') closes all open system windows, discarding all
Open the vdp system. Then close it without saving any changes.
sys— System to close
System to close, specified as a character vector or string scalar.
Behavior changed in R2019b
Starting in R2019b, when you close a window for a model hierarchy by closing the
top model, all referenced models that are not open in another window are also
closed, which clears them from memory. To keep referenced models loaded in memory,
close_system function and set the
'closeReferencedModels' argument to