How to delete all figure plots
230 次查看(过去 30 天)
显示 更早的评论
I run a program with plot and histogram. Then the program generates plot windows. I would like to delete all these figure windows at the beginning of running the program next time. Please advise.
0 个评论
回答(1 个)
Walter Roberson
2018-3-30
close all
2 个评论
Walter Roberson
2018-3-30
"clear all" and "close all" are not the same.
In some cases you might even need
close all hidden
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!