how to get text from textbox..??

4 Ansichten (letzte 30 Tage)
Usama Javed
Usama Javed am 23 Jan. 2012
How can I get text from TextBox. ?? like edit1.tag?? is it correct?? or anything else??

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 23 Jan. 2012
get(HandleOfTheBox, 'string')
If you are using GUIDE then it might look like
get(handles.edit1, 'string')
  3 Kommentare
Walter Roberson
Walter Roberson am 23 Jan. 2012
No, neither of those are correct. Possibly this would be correct:
path = get(handles.edit1, 'string');
Usama Javed
Usama Javed am 25 Jan. 2012
thankyou so much...

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by