Figure Window Will Not Open

168 次查看(过去 30 天)
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?

回答(1 个)

Walter Roberson
Walter Roberson 2020-9-6
编辑:Walter Roberson 2020-9-6
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.
  9 个评论
Camille Woicekowski
Here are the results. Yes, I'm using Windows 10 pro 64 bit.
restoredefaultpath
rehash toolboxcache
also opened the figure window, but the figure still did not display.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Graphics Performance 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by