MATLAB: I want to get numerical input value using Edittext box in GUI and to assign that value to a variable in the file and i want to display the output Back GUI

edit textmatlab gui

now i am using this code but i am not able to achieve what i need please help me ..
function pushbutton1_Callback(hObject, eventdata, handles) s1 = get(handles.edit1,'String'); s2 = get(handles.edit2,'String'); s3 = get(handles.edit3,'String');
I am calling the GUI Model like this from my file
Model.fig; a(6)= s1; b(6)= s2; c(6)=s3;