필터 지우기
필터 지우기

get the values from user via text field

조회 수: 1 (최근 30일)
fatemeh
fatemeh 2013년 12월 20일
댓글: fatemeh 2013년 12월 21일
Hi I want get the values from user via text field i design my gui but i do not know how access the items of these and can i save the values that users entered into text field?

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2013년 12월 20일
You can use an edit box and pushbutton with callback:
y=str2double(get(handles.edit1,'string'))
  댓글 수: 3
fatemeh
fatemeh 2013년 12월 21일
y=str2double(get(handles.edit1,'string')) where can i see the y? and when i write it in the callback of button it is get error to me!

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by