close all Simulink windows except top-level systems

closes all opened windows of Simulink except top-level systems. Can handle several different systems

You are now following this Submission

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 (2026). close all Simulink windows except top-level systems (https://www.mathworks.com/matlabcentral/fileexchange/35697-close-all-simulink-windows-except-top-level-systems), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Modeling in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.4.0.0

clear variables used in the routine.
picture uploaded.

1.0.0.0