function popupmenu1_Callback(hObject, eventdata, handles)
% hObject handle to popupmenu1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
global Selec;
Selec = get(hObject,'Value');
function pushbutton1_Callback(hObject, eventdata, handles)
global Selec;
Ring = %你的操作
set(handles.text7,'String',Ring);
可以在按钮中设置 在按钮的callback里写
S = get(handles.menu,'string');
set(handles.text,'string',S);
类似的概念。