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 CenterFile Exchange에서 Word games에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by