I made a GUI using GUIDE.
It contains a Pop-up menu containing 3 items (A,B,C) and a pushbutton.
This very simple Gui is designed to simply display a different text for whichever item the user chooses.
If I select the first value of my pop-up menu, I should get a return print of Hello. Sections of the code can be seen below. Why doesn't the code work?
function A_popup_Callback(hObject, eventdata, handles)
val = get(hObject,'Value');
case 1 x = 'Hello'; case 2 y = 'goodbye' case 3 z = 'thank you' end
function pushbutton1_Callback(hObject, eventdata, handles)
No products are associated with this question.