Clear Filters
Clear Filters

Saving data from a GUI

5 views (last 30 days)
Ludwig Crous
Ludwig Crous on 11 Apr 2020
Commented: Ludwig Crous on 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 Comments
Image Analyst
Image Analyst on 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.

Sign in to comment.

Answers (0)

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!