GUI close open images
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Walter Roberson
le 7 Juil 2012
Modifié(e) : Walter Roberson
le 7 Juil 2012
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 commentaires
Voir également
Catégories
En savoir plus sur Display Image dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!