Save Edittext value into a file

1 Ansicht (letzte 30 Tage)
jose bernardo
jose bernardo am 24 Jan. 2014
Beantwortet: Walter Roberson am 24 Jan. 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.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 24 Jan. 2014
fourvals = get([handles.et1, handles.et2, handles.et3, handles.et4], 'String');
save Somefile.mat fourvals

Weitere Antworten (0)

Kategorien

Mehr zu Word games finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by