From: nonyt on
Hello, I am doing a GUI
and i want to display a String on a text box when a button event occur

function pushbutton1_Callback(hObject, eventdata, handles)
% hObject handle to pushbutton1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
c={a;b;c;d.....};
d=c(1);
i want to display to text1...

Can anyone help me?