how to get text from textbox..??
4 views (last 30 days)
Show older comments
How can I get text from TextBox. ?? like edit1.tag?? is it correct?? or anything else??
0 Comments
Accepted Answer
Walter Roberson
on 23 Jan 2012
get(HandleOfTheBox, 'string')
If you are using GUIDE then it might look like
get(handles.edit1, 'string')
3 Comments
Walter Roberson
on 23 Jan 2012
No, neither of those are correct. Possibly this would be correct:
path = get(handles.edit1, 'string');
More Answers (0)
See Also
Categories
Find more on Get Started with MATLAB 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!