MATLAB Answers

executing an m file with user input and plots using app designer

조회 수: 4(최근 30일)
Nora Khaled
Nora Khaled 29 Aug 2019
Commented: Adam 29 Aug 2019
Hi!
I have worked on some program that has a loop and each time it takes user input using GUI slider and based on the input some calculations are done and the results are printed on the screen and some graph are plotted.
Now that I have made sure that the program works I want to do the same thing using matlab app designer.
since its my first time making app in matlab I was wondering what resources can be used in such case. is there a way to integrate the input from the app with the calculation in the m file then going back to the app to plot and print the results.

  댓글 수: 1

Adam
Adam 29 Aug 2019
App designer is based around a central GUI class which you can add properties and methods to, making it very easy to integrate code with inputs from the GUI and pass them to another function in a different callback, since all callbacks have access to the central app and anything stored on it.

로그인 to comment.

답변 수 (0)

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


Translated by