How to kill all figure windows in MATLAB?
68 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Is it possible to kill all figure windows with only a single click or command?
0 commentaires
Réponses (2)
Dishant Arora
le 15 Avr 2015
close all
4 commentaires
Adam Danz
le 2 Sep 2021
@Pintu Saini I assum you're responding to Dishant's answer rather than my comment directly under the answer. I've also added a new answer that may be more visible.
Adam Danz
le 2 Sep 2021
Update
close all force
% or
close('all','force')
In R2016a, Matlab introduced uifigure which has hidden handles by default so they go undetected by the "close all" request. Figure handle visiblilty can be changed from the HandleVisibility property.
0 commentaires
Voir également
Catégories
En savoir plus sur Develop uifigure-Based Apps 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!