NITEMNENUSELECTION-controlmultipleitemselectionforapopupmenu[SELECTED,B,ERRORMSG]=NITEMMENUSELECTION(POPUPMENU_HANDLE,...)Notethatyoushouldn't allow any item names to begin with ItemPrefix{:} entries. This function'sperformanceismodifiedbyname/valuepairs:Parameter(default)|Description-----------------------------------------------------------ItemPrefix(...|Prefixstringstoaddtoselecteditems{'x:','y:','z:'}) | The number of prefixes determines the number | of items that can be selected simulatenously (N). value (current | The value to toggle uicontrol value) | Example: names = {'a','b','c','d'}; fig=figure; uicontrol('units','normalized','position',[0.10.10.20.5],'tag','mymenu',... 'style','popup','string',names,'callback','nitemmenuselection(gcbo);');selected=nitemmenuselection(findobj(fig,'tag','mymenu'),'value',[]);