Close all figures in 2014b

7 views (last 30 days)
Rainer
Rainer on 8 Oct 2014
Commented: Rainer on 9 Oct 2014
Pre 2014b, all figures can be closed with
close all
Doesn't seem to work with 2014b. Can someone help?
  2 Comments
Jim Hokanson
Jim Hokanson on 8 Oct 2014
Do you have an example? Seems to work for me.

Sign in to comment.

Accepted Answer

Sean de Wolski
Sean de Wolski on 8 Oct 2014
Edited: Sean de Wolski on 8 Oct 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

More Answers (0)

Categories

Find more on Graphics Object Programming in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!