Save Edittext value into a file
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
jose bernardo
il 24 Gen 2014
Risposto: Walter Roberson
il 24 Gen 2014
Hi:
I have four edittext (et1, et2, et3 and et4).
I would like to save the values that the user writes into them when he press a pushbutton.
Also i would like to put this saved values when you have the empty edittext window and you push another pushbutton.
Thanks for your attention.
0 Commenti
Risposta accettata
Walter Roberson
il 24 Gen 2014
fourvals = get([handles.et1, handles.et2, handles.et3, handles.et4], 'String');
save Somefile.mat fourvals
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Workspace Variables and MAT-Files 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!