How to open my .m files in App Designer?

4 ビュー (過去 30 日間)
Roberta Jakab
Roberta Jakab 2019 年 7 月 19 日
回答済み: Jan 2019 年 7 月 19 日
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!

採用された回答

Jan
Jan 2019 年 7 月 19 日
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 件)

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by