필터 지우기
필터 지우기

How to control visibility of all panels with one single statement

조회 수: 1 (최근 30일)
Abdurrehman
Abdurrehman 2018년 2월 11일
편집: Abdurrehman 2018년 2월 11일
Hi,
I have used many UI Panels in my guide GUI. The Panels are dedicated for special tasks which can be selected by pushbuttons. Currently, I am enabling or disabling each panel with following statements
handles.PanelName.Visible='on';
handles.PanelName.Visible='off';
The problem is, I have to repeat statement for each panel. Is it possible to control the visibility of all panels with a single statement. I have used
arrayfun with findall
to clear all axes in one single statement but not sure how to use this for controlling the visibility of panels. Please help, thanks.

답변 (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