I have written the code such that one panel has to turn off and another must turn on. the code is:
set(handles.uipanel1,'visible','off');
set(handles.uipanel3,'visible','on');
uipanel1 is becoming invisible. But uipanel3 is not becoming visible. i cannot understand why this is happening. Any help would be great!

 채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2013년 3월 17일

1 개 추천

Maybe panel3 is inside panel1

댓글 수: 2

Rupali
Rupali 2013년 3월 17일
yes that worked! thank you!
Gopichandh Danala
Gopichandh Danala 2017년 4월 6일
I was facing the same issue, I checked if second panel was within the first panel and I made them seperate, I was able to use visible 'on' and 'off' to get them working
Thanks, Azzi

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

질문:

2013년 3월 17일

댓글:

2017년 4월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by