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
MathWorks Support Team 2009년 6월 27일
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