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

1 view (last 30 days)
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?

Answers (1)

Timothy Maxwell
Timothy Maxwell on 19 Apr 2022
Edited: Timothy Maxwell on 19 Apr 2022
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.

Categories

Find more on Specifying Target for Graphics Output in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!