Saving data from a GUI

조회 수: 8 (최근 30일)
Ludwig Crous
Ludwig Crous 2020년 4월 11일
댓글: Ludwig Crous 2020년 4월 11일
I was assigned a project in which I need to make use of a GUI. I have not worked with a GUI before, but I managed to structure the body from online tips.
My GUI serves the purpose of taking in input values that I later have to use again.
I am however struggling to save these data values from the GUI.
Can anyone advise on the matter.
  댓글 수: 4
Image Analyst
Image Analyst 2020년 4월 11일
Again, you forgot to attach the files. In general you can get the values in a couple of different ways depending on the type of control
value = handles.chkYourCheckBox.Value; % Checkboxes or scrollbars or listboxes or radio buttons.
contents = handles.edtYourEditTextBox.String; % Edit text boxes or listboxes.
Ludwig Crous
Ludwig Crous 2020년 4월 11일
Here are the files.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by