Close all figures except those listed
Note de l’éditeur : This file was selected as MATLAB Central Pick 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'.
Citation pour cette source
Karl (2026). Close all figures except those listed (https://fr.mathworks.com/matlabcentral/fileexchange/24420-close-all-figures-except-those-listed), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxTags
Remerciements
A inspiré : Close all figures except specific (previously tagged) ones, Causal State Modeller Toolbox
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.1.0.0 | Fixed 'last' option so it actually closes the last figure opened, rather than the current figure. |
||
| 1.0.0.0 |
