function Load_control_surface_data_Callback(hObject,eventdata,handles)
if exist('Control Surface Data.dat')==0
warndlg('No Control Surface Data File to be loaded','warning');
end
if exist('Control Surface Data.dat')==2
msgbox('Control Surface Data File was found','Load Successful','help');
DATA=importdata('Control Surface Data.dat');
set(handles.Y_inner_eb,'String',DATA(1),'userdata',DATA(1));
handles.Y_inner_eb=get(handles.Y_inner_eb,'userdata');
set(handles.Y_outer_eb,'String',DATA(2),'userdata',DATA(2));
handles.Y_outer_eb=get(handles.Y_outer_eb,'userdata');
set(handles.Zh_inner_eb,'String',DATA(3),'userdata',DATA(3));
handles.Zh_inner_eb=get(handles.Zh_inner_eb,'userdata');
set(handles.Zh_outer_eb,'String',DATA(4),'userdata',DATA(4));
handles.Zh_outer_eb=get(handles.Zh_outer_eb,'userdata');
set(handles.Cf_inner_eb,'String',DATA(5),'userdata',DATA(5));
handles.Cf_inner_eb=get(handles.Cf_inner_eb,'userdata');
set(handles.Cf_outer_eb,'String',DATA(6),'userdata',DATA(6));
handles.Cf_outer_eb=get(handles.Cf_outer_eb,'userdata');
set(handles.Gap_inner_eb,'String',DATA(7),'userdata',DATA(7));
handles.Gap_inner_eb=get(handles.Gap_inner_eb,'userdata');
set(handles.Gap_outer_eb,'String',DATA(8),'userdata',DATA(8));
handles.Gap_outer_eb=get(handles.Gap_outer_eb,'userdata');
set(handles.Cb_inner_eb,'String',DATA(9),'userdata',DATA(9));
handles.Cb_inner_eb=get(handles.Cb_inner_eb,'userdata');
set(handles.Cb_outer_eb,'String',DATA(10),'userdata',DATA(10));
handles.Cb_outer_eb=get(handles.Cb_outer_eb,'userdata');
set(handles.Gap_y_inner_eb,'String',DATA(11),'userdata',DATA(11));
handles.Gap_y_inner_eb=get(handles.Gap_y_inner_eb,'userdata');
set(handles.Gap_y_outer_eb,'String',DATA(12),'userdata',DATA(12));
handles.Gap_y_outer_eb=get(handles.Gap_y_outer_eb,'userdata');
if DATA(13)==1
set(handles.Nose_shape,'SelectedObject',[handles.Round_rb]);
handles.Nose_Shape=1;
end
if DATA(13)==2
set(handles.Nose_shape,'SelectedObject',[handles.Elliptic_rb]);
handles.Nose_Shape=2;
end
if DATA(13)==3
set(handles.Nose_shape,'SelectedObject',[handles.Medium_rb]);
handles.Nose_Shape=3;
end
end
handles.output = hObject;
guidata(hObject, handles);