Plot Simulink scope in App designer
23 次查看(过去 30 天)
显示 更早的评论
I have built an app which interacts with a simulink model, set the block values and runs it. Now in the app I want to include the graph plotted from scope and I need to show a specific value at the output in the app. How to do this?
0 个评论
采纳的回答
Shivam Sardana
2019-5-30
Log the simulation data from Scope block into MATLAB Workspace and then use it in your app. You can refer to the documentation link of Common Scope Block Tasks for logging the data:
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
更多回答(2 个)
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.
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!