how to get text from textbox..??

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

 Respuesta aceptada

Walter Roberson
Walter Roberson el 23 de En. de 2012

2 votos

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

3 comentarios

Usama Javed
Usama Javed el 23 de En. de 2012
path=(handles.edit1,'string')... is this correct??
or
(handles.edit1,'string',path)... is this correct??
Walter Roberson
Walter Roberson el 23 de En. de 2012
No, neither of those are correct. Possibly this would be correct:
path = get(handles.edit1, 'string');
Usama Javed
Usama Javed el 25 de En. de 2012
thankyou so much...

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre MATLAB Report Generator en Centro de ayuda y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by