Save Edittext value into a file

1 回表示 (過去 30 日間)
jose bernardo
jose bernardo 2014 年 1 月 24 日
回答済み: Walter Roberson 2014 年 1 月 24 日
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.

採用された回答

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeWord games についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by