How to kill all figure windows in MATLAB?

70 visualizaciones (últimos 30 días)
Mr M.
Mr M. el 15 de Abr. de 2015
Comentada: Adam Danz el 2 de Sept. de 2021
Is it possible to kill all figure windows with only a single click or command?

Respuestas (2)

Dishant Arora
Dishant Arora el 15 de Abr. de 2015
  4 comentarios
Pintu Saini
Pintu Saini el 2 de Sept. de 2021
not working for me in online matlab.
Adam Danz
Adam Danz el 2 de Sept. de 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.

Iniciar sesión para comentar.


Adam Danz
Adam Danz el 2 de Sept. de 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.

Categorías

Más información sobre Develop uifigure-Based Apps en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by