Saving data from a GUI

1 次查看(过去 30 天)
Ludwig Crous
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.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by