How I can export a simulink scope to an interface created with app designer?
3 ビュー (過去 30 日間)
古いコメントを表示
Guillermo Cid Espinosa
2017 年 7 月 29 日
回答済み: Jasmine Poppick
2024 年 4 月 26 日
I'm developing a user interface with the new Matlab toolbox (app designer) to control a simulink model. Can I represent a scope on the interface while the simulink model is running? I want the graph in the interface and the scope of the model to be represented at the same time. I have been able to take the values of the scope to the workspace through the block "to workspace" and then take them to the interface to represent them in a plot but to do this I have to stop the simulation. Thank you.
0 件のコメント
採用された回答
Mandar Patwardhan
2017 年 8 月 1 日
This feature does not exist in R2017a. However, you can get access to the data while the simulation is running and use this data to plot the output in your App Designer Interface.
Use the above link to read about how to access the data while the simulation is running.
1 件のコメント
saleh said bouhliga
2020 年 10 月 16 日
hi
Solution to your question see here
https://se.mathworks.com/matlabcentral/fileexchange/73613-interface-between-matlab-app-and-simulink?s_tid=answers_rc2-1_p4_Topic
その他の回答 (1 件)
Jasmine Poppick
2024 年 4 月 26 日
Starting in R2024a, you can use App Designer to interactively create an app for a Simulink model, which includes the capability to easily and performantly visualize signal data in the app using the new time scope UI component while the simulation is running.
In addition, you can:
- Add UI components configured specifically to interact with your model, such as a simulation start/stop control and a simulation progress bar.
- Tune model variables from the app while the simulation runs by connecting UI components to variables.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Develop Apps Using App Designer についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!