10 Lay Out a Programmatic UI
Pop-Up Menu
This 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 Menu
This 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]);