Panel not becoming visible

3 views (last 30 days)
Rupali
Rupali on 17 Mar 2013
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!

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 17 Mar 2013
Maybe panel3 is inside panel1
  2 Comments
Rupali
Rupali on 17 Mar 2013
yes that worked! thank you!
Gopichandh Danala
Gopichandh Danala on 6 Apr 2017
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

Sign in to comment.

More Answers (0)

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!