In my GUI, i have a drop down menu, Yes or No. Depending on what is selected, determines the value of variable x. When I press a button, I want to use x to do a calculation
function [test]=popupmenu1_Callback(hObject, eventdata, handles)
function startbutton_Callback(hObject, eventdata, handles, test)
the popmenu by itself works, but when i press the start button, 'test' is not passed into it.