Pre 2014b, all figures can be closed with
close all
Doesn't seem to work with 2014b. Can someone help?

2 commentaires

Jim Hokanson
Jim Hokanson le 8 Oct 2014
Do you have an example? Seems to work for me.
Sean de Wolski
Sean de Wolski le 8 Oct 2014
Works for me.

Connectez-vous pour commenter.

 Réponse acceptée

Sean de Wolski
Sean de Wolski le 8 Oct 2014
Modifié(e) : Sean de Wolski le 8 Oct 2014

0 votes

Perhaps you have a hidden figure (i.e. a figure whose 'HandleVisibility' is set to 'off')
This could happen in R2014a and before too, but a figure with this setting is not affected by close all. You need close all force to close these ones:
figure % Can be closed
figure('HandleVisibility','off'); % cannot be
close all % close handle visible ones
close all force % close all of them

Plus de réponses (0)

Catégories

En savoir plus sur Graphics Objects dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by