how to get text from textbox..??

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

 채택된 답변

Walter Roberson
Walter Roberson 2012년 1월 23일

2 개 추천

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

댓글 수: 3

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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 MATLAB Report Generator에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by