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

2 次查看(过去 30 天)
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.

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by