Clear Filters
Clear Filters

Figure Window Will Not Open

79 views (last 30 days)
Camille Woicekowski
Camille Woicekowski on 6 Sep 2020
Commented: Walter Roberson on 6 Sep 2020
Occasionally Matlab fails to generate figures. If I'm using .m a window briefly pops up blank, then disappears. I'll have a window titled "Figure 1" but I'm unable to open it. If I'm using .mlx the plot will appear on the side bar but the same issue occurs when I try to open the figure. I do not get an error message... This seems to happen mostly with larger figures (most recently 3x4 subplot). What could be the problem?

Answers (1)

Walter Roberson
Walter Roberson on 6 Sep 2020
Edited: Walter Roberson on 6 Sep 2020
You can get that effect if the figures are being opened but with Visible set to 'off'
If you have a saved figure and its Visible property is off, then MATLAB will not display the figure when you open it; you would need to set Visible on again.
If your code has somehow done
set(groot, 'DefaultFigureVisible', 'off')
then all future figures in that session would have Visible off set for them unless it was overridden.
Camille Woicekowski
Camille Woicekowski on 6 Sep 2020
Here are the results. Yes, I'm using Windows 10 pro 64 bit.
rehash toolboxcache
also opened the figure window, but the figure still did not display.

Sign in to comment.


Find more on Graphics Performance 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!