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

2 Ansichten (letzte 30 Tage)
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.

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 27 Jun. 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.

Weitere Antworten (0)

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by