AppDesigner UIPanel Hide Visibility
조회 수: 57 (최근 30일)
이전 댓글 표시
I have several overlapping UIPanel's in AppDesigner and I want all but one panel to be hidden upon creation of the figure or soon thereafter. AppDesigner doesn't let you edit the constructor for the object and there is no property in the Component Browser for me to edit visibility. There is a .Visible property contained under app.panel.Visible that I believe can be set. Just can't figure out how to initialize this setting automatically without access to the constructor or the app creation.
댓글 수: 0
채택된 답변
Swathik Kurella Janardhan
2016년 8월 16일
You can edit the startupFcn in the 'Code View' of your AppDesigner to set the Visible property of the panel.
function startupFcn(app)
app.Panel.Visible = 'off';
end
추가 답변 (1개)
yumeng Jiang
2019년 10월 30일
excuse me ,how to make several overlapping UIPanel's in AppDesigner?? when i drag button or listbox or ...,they always change their parent,they run to the last panel ,thx
댓글 수: 1
Johannes Rebling
2020년 1월 25일
You have to create individual apps if you want independent, overlapping windows.
참고 항목
카테고리
Help Center 및 File Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!