Saving data from a GUI

1 Ansicht (letzte 30 Tage)
Ludwig Crous
Ludwig Crous am 11 Apr. 2020
Kommentiert: Ludwig Crous am 11 Apr. 2020
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 Kommentare
Image Analyst
Image Analyst am 11 Apr. 2020
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 am 11 Apr. 2020
Here are the files.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Migrate GUIDE Apps 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