Close any or all Simulink system windows unconditionally
bdclose bdclose('sys') bdclose('all')
bdclose with no arguments closes the current system window unconditionally and without confirmation. Any changes made to the system since it was last saved are lost.
bdclose('sys') closes the specified system window.
bdclose('all') closes all system windows.