Effacer les filtres
Effacer les filtres

get the values from user via text field

1 vue (au cours des 30 derniers jours)
fatemeh
fatemeh le 20 Déc 2013
Commenté : fatemeh le 21 Déc 2013
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?

Réponse acceptée

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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by