Why do UI control objects in GUI disappear during/after plotting ?

2 次查看(过去 30 天)
I made a GUI using GUIDE in R2014b. It contains an axes for plotting and many UI controls, such as push buttons and popup menus.
I'm plotting thousands of surface objects using a for loop. I also add camlight and drawnow after the for loop. While the plotting is going on, the UI controls disappeared, except for those contained in a panel. When the plotting is finished, if I hover the cursor over the area where UI controls were supposed to be, they appear again. But not all of them could come back this way. If I enter debugging mode and issue cla command, then they all appear again.
What might cause this and how can I fix it?

回答(1 个)

Timothy Maxwell
Timothy Maxwell 2022-4-19
编辑:Timothy Maxwell 2022-4-19
I don't have an answer to this, and we still have some old applications.
Can confirm the same behavior. GUIDE applications that have images plotted on them. When the image appears, almost all the uipanels/elements disappear. If not immediately, upon interacting with or moving the window.
It appears to be a low level rendering problem or OpenGL issue. Have not found a solution... Anyone else has? It's only in specific environments, but not sure what isn't working/compatible.

类别

Help CenterFile Exchange 中查找有关 Specifying Target for Graphics Output 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by