Vlad - assuming that you are using GUIDE to create your GUI, suppose your five popup menus are namedpopupmenu1,popupmenu2,...,popupmenu5. If we assume that only numeric data has populated each of your popup menus, then the callback for your push button would look something like
function pushbutton1_Callback(hObject, eventdata, handles)
% get the list of items in the first popup menu
menu1List = get(handles.popupmenu1,'String');
% get the selected item in the first popup menu and convert to a number
Best Answer