image thumbnail

Close all figures except those listed

1.46版本1.1.0.0 (KB) Karl
Close all figures except those listed by the user.

3.9K Downloads

Updated22 Jun 2009

View License

Editor's Note:This file was selected as MATLAB CentralPick of the Week

Currently, if you have many figures open at once, but decide you only want to keep one or two of them, you have to manually close all the other figures. This function is a simple tool for keeping the figures you want and closing all the others. Also, called with no arguments, 'cab' is a convenient, three-letter replacement for 'close all'.

Cite As

Karl (2022).Close all figures except those listed(//www.tatmou.com/matlabcentral/fileexchange/24420-close-all-figures-except-those-listed), MATLAB Central File Exchange. Retrieved.

MATLAB Release Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux
TagsAdd Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!