how to get text from textbox..??

3 visualizzazioni (ultimi 30 giorni)
Usama Javed
Usama Javed il 23 Gen 2012
How can I get text from TextBox. ?? like edit1.tag?? is it correct?? or anything else??

Risposta accettata

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

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Get Started with MATLAB in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by