In GUI how to take input from keyboard?
5 views (last 30 days)
Show older comments
I'm writing a code for an application where i'll have to take input from keyboard. I've designed a GUI.
How to pass the parameter taken from keyboard to my prtogram?
0 Comments
Answers (2)
ES
on 18 Oct 2013
this is GUI's DE(development Environment). Run the GUI by clicking on the Green Play button at the menu. The GUI will execute. there you can type the values into the Text Fields. If you want to pass the Text data to a logic(m script) write callbacks.
0 Comments
Image Analyst
on 18 Oct 2013
Get the string in the edit box from any function that has access to the handles structure. This will include all GUIDE-generated callback functions and any of your own functions that you pass the handles structure into as an input argument. Then:
editBoxContents = get(handles.editBox1, 'String');
0 Comments
See Also
Categories
Find more on Migrate GUIDE Apps in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!