MATLAB: Panel not becoming visible

paneluipanelvisibility

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!

Best Answer

Maybe panel3 is inside panel1
Related Question