function data_Callback(hObject, eventdata, handles)% hObject handle to data (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
points.T=str2double(get(handles.edit1,'userdata'));points.ES=str2double(get(handles.edit2,'userdata'));points.ISlower=str2double(get(handles.edit3,'userdata'));points.ISupper=str2double(get(handles.edit4,'userdata'));points.G=str2double(get(handles.edit5,'userdata'));set(handles.data,'userdata',points);close(details);
this is the call back of a pushbutton in sub.
i need to transfer the variable 'points' to main function pushbutton callback.
Best Answer