How to kill all figure windows in MATLAB?
68 次查看(过去 30 天)
显示 更早的评论
Is it possible to kill all figure windows with only a single click or command?
0 个评论
回答(2 个)
Dishant Arora
2015-4-15
close all
4 个评论
Adam Danz
2021-9-2
@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
2021-9-2
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Develop uifigure-Based Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!