matlab popupmenu (combobox)

The popupmenu of the matlab gui is based on the uicontrol class. Below is a sample code for its usage: % create text entries in menu colormapStr{1}= 'blue-red'; colormapStr{2}= 'red-blue'; colormapStr{3}= 'gray'; set(handles.popupmenuColorMap, 'String',colormapStr,'value',1);   % get current selection of menu ColorMapContents =...