I used guide in order to create a graphic user interface. Now I have a pushbutton which has a Callback function.
Does anyone know how can I pass variables d and time_vector from the main script into the Callback function? You can find the piece of code below:
Here is the Pushbutton callback function:
pushbutton1_Callback(hObject, eventdata, handles)
popup_sel_index = get(handles.popupmenu1, 'Value');