GUI close open images
3 ビュー (過去 30 日間)
古いコメントを表示
I would like to create a button that closes all open images. If I use the 'close all' command, it closes the GUI as well. Can I either make this command not close the gui, or is it possible to close all of a certain type?
0 件のコメント
回答 (1 件)
Walter Roberson
2012 年 7 月 7 日
編集済み: Walter Roberson
2012 年 7 月 7 日
delete( findall(0, 'type','image') )
Note: if you used something like imshow() to display the image, then this will only get rid of the image itself and not the imshow frame.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!