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 Center および File ExchangeApp Building についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by