Vlad - assuming that you are using GUIDE to create your GUI, suppose your five popup menus are named popupmenu1, 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)
menu1List = get(handles.popupmenu1,'String');
menu1Item = str2num(menu1List{get(handles.popupmenu1,'Value')});
You would then just repeat the above code for the remaining four popup menus and do whatever operation you need against them.
Best Answer