what you have to do is :-
1. First open you GUIDE, then grab two object as :- 1)Edit 2)Push button
2. Double click on the Edit, then property inspector window opens, you have to change its name "Edit " to "Hit me"
3. Just do the same with Push button .
4. after that right click on any of the object and choose M-file from the option panel.
5. in the .m file go to pushbutton_callback function.in side the function body the code as i wrote below:-
6. write the code ;-
b=strcat('you have entered=',a);
save it by some file name.
7. Then just run it by pressing f5 or fn+f5 // run icon over the upper panel