Why do some uicontrols not show up in the GUIDE figure when I know they exist?

2 visualizzazioni (ultimi 30 giorni)
I have placed some uicontrols on my GUI but I can't see them in GUIDE anymore. These objects exist and show up in the Object Browser.

Risposta accettata

MathWorks Support Team
MathWorks Support Team il 27 Giu 2009
One reason why this behavior could happen is that the uicontrol is a child of a uipanel object, but is placed outside the scope of that uipanel. (For example, placing a button on a uipanel, and then resizing the panel so that the button lays outside of it will reproduce the issue).
To resolve this issue, there are two options:
1 - Resize the uipanel so that the uicontrol reappears
2 - From the Object Browser panel, select the uicontrol (double-click on its name to open the property browser) and change its position property so that its location lays inside the uipanel.

Più risposte (0)

Categorie

Scopri di più su Migrate GUIDE Apps in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by