I've made a popup-menu in Matlab using uicontrol
, instead of using GUIDE. Here is my code:
figure;
String = sprintf( '%d#', 1:5);
String(end) = [];
CString=regexp(String , '#' , 'split');
uicontrol('style','popupmenu' , ...
'String' , CString , ...
'Position' , [100,400,100,24]);
But I don't know how can I put a subject for the popup-menu.
If anyone knows I'll appreciate for your help.
Thank You in Advance