MATLAB: Popupmenu in GUI

popupmenu

I made a popupmenu in GUI, but how do i populate the popup with choices? thanks

Best Answer

Press return in the string option in GUIDE to start new lines.
Programatically, use a cellarray of strings for the string option:
uicontrol('style','popup','string',{'option 1';'hello world';'Is it Friday yet?'})