Close all figures except those listed

バージョン (1.46 KB) 作成者: Karl
Close all figures except those listed by the user.
ダウンロード: 4K
更新 2009/6/22


編集メモ: 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'.


Karl (2024). Close all figures except those listed (, MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2007b
Windows macOS Linux
Help Center および MATLAB AnswersMigrate GUIDE Apps についてさらに検索
タグ タグを追加

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート

Fixed 'last' option so it actually closes the last figure opened, rather than the current figure.