Azzera filtri
Azzera filtri

get the values from user via text field

1 visualizzazione (ultimi 30 giorni)
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?

Risposta accettata

Azzi Abdelmalek
Azzi Abdelmalek il 20 Dic 2013
You can use an edit box and pushbutton with callback:
y=str2double(get(handles.edit1,'string'))
  3 Commenti
fatemeh
fatemeh il 21 Dic 2013
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!

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Migrate GUIDE Apps 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