close all Simulink windows except top-level systems
                    Version 1.4.0.0 (1.21 KB) by  
                  Noam G
                
                
                  closes all opened windows of Simulink except top-level systems. Can handle several different systems
                
                  
              whenever you have too many windows of models' subsystems opened, this routine goes over all of them, excludes the top-level ones, and closes all the rest, including scopes and opened dialogues
Cite As
Noam G (2025). close all Simulink windows except top-level systems (https://nl.mathworks.com/matlabcentral/fileexchange/35697-close-all-simulink-windows-except-top-level-systems), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
              Created with
              R2010b
            
            
              Compatible with any release
            
          Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.