10 Lay Out a Programmatic UI
Pop-Up MenuThis code creates a pop-up menu:f = figure;
pm = uicontrol(f,'Style','popupmenu',...
'String',{'one','two','three','four'},...
'Value',1,'Position',[30 80 130 20]); 10 Lay Out a Programmatic UI
Pop-Up MenuThis code creates a pop-up menu:f = figure;
pm = uicontrol(f,'Style','popupmenu',...
'String',{'one','two','three','four'},...
'Value',1,'Position',[30 80 130 20]);