h = figure(1);clf;
p = uipanel(h,'title','test panel','units','normalized','position',[0,0,1,0.8]);
pushb = uicontrol(h,'style','pushbutton','string','dummybutton','units','normalized','position',[0 0.85 0.2 0.07]);
pushb2 = uicontrol(p,'style','pushbutton','string','dummybutton2','units','normalized','position',[0 0.85 0.2 0.07]);
set(pushb2,'parent',h)
set(p,'visible','off')
