how to get text from textbox..??

How can I get text from TextBox. ?? like edit1.tag?? is it correct?? or anything else??

 Accepted Answer

get(HandleOfTheBox, 'string')
If you are using GUIDE then it might look like
get(handles.edit1, 'string')

3 Comments

path=(handles.edit1,'string')... is this correct??
or
(handles.edit1,'string',path)... is this correct??
No, neither of those are correct. Possibly this would be correct:
path = get(handles.edit1, 'string');
thankyou so much...

Sign in to comment.

More Answers (0)

Categories

Find more on Convert Image Type 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!