MATLAB Answers

AppDesigner: save/load User‘s Input

조회 수: 25(최근 30일)
Jule Zimmermann
Jule Zimmermann 16 Jul 2019
댓글: Adam 16 Jul 2019
Hey everyone,
I built a gui with appdesigner, where the user has to fill out many editfields, drop down lists and switches. At the end he can push a plot button, which runs some calculations and shows the plot after all. So far so good, I want to built in two buttons ‚save‘ and ‚load‘, so the user can save all the input information and load it again another time, to run the same scenario without allthe input effort. Any suggestions how to program this? Best regards, Jule

  댓글 수: 1

Adam 16 Jul 2019
Just grab all the inputs from the UI via the class object, put them in a struct and save it to a mat file. Then do the reverse when you load it back in.

로그인 to comment.


이 질문에 답변하려면 로그인을(를) 수행하십시오.

Translated by