Close all figures in 2014b

3 visualizzazioni (ultimi 30 giorni)
Rainer
Rainer il 8 Ott 2014
Commentato: Rainer il 9 Ott 2014
Pre 2014b, all figures can be closed with
close all
Doesn't seem to work with 2014b. Can someone help?
  2 Commenti
Jim Hokanson
Jim Hokanson il 8 Ott 2014
Do you have an example? Seems to work for me.
Sean de Wolski
Sean de Wolski il 8 Ott 2014
Works for me.

Accedi per commentare.

Risposta accettata

Sean de Wolski
Sean de Wolski il 8 Ott 2014
Modificato: Sean de Wolski il 8 Ott 2014
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

Più risposte (0)

Categorie

Scopri di più su Graphics Objects in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by