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

6 vues (au cours des 30 derniers jours)
CY Y
CY Y le 18 Fév 2015
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?

Réponses (1)

Timothy Maxwell
Timothy Maxwell le 19 Avr 2022
Modifié(e) : Timothy Maxwell le 19 Avr 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.

Catégories

En savoir plus sur Lighting, Transparency, and Shading dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by