MATLAB Answers

0

How to open my .m files in App Designer?

Asked by Roberta Jakab on 19 Jul 2019
Latest activity Answered by Jan
on 19 Jul 2019
Accepted Answer by Jan
Hi,
I have a system of differential equations, which I solved in Matlab. My code consists two files.
The equations contains a lot of constants, and for my school project, I would like to make an app, where I can modify these constants with a slider.
How can I open my differential equation solver files in the App Designer and than make these sliders?
Thank you very much in advance for all your tips!

  0 Comments

Sign in to comment.

1 Answer

Answer by Jan
on 19 Jul 2019
 Accepted Answer

You do not have to open the files to use a slider for te modification of a constant. You need to write the code as a function, which acceptes the value of the constant as input. Then the slider modifies this value, triggers the calculations and updates the graphics output.
See

  0 Comments

Sign in to comment.