Adding event listeners to show Simulink data on MATLAB GUI

1 次查看(过去 30 天)
I'e created a GUI using GUIDE, have set up a start/ stop button which works well with starting/ stopping my Simulink model. However, i'd like to now show 'scope' data from my Simulink model within my GUIDE GUI.
I'm aware of plotting data saved to the base workspace however i would like my results at 'run time'. I've extensively researched this topic however it appears too difficult to implement. I have around 4 scopes that i'd like to link to my GUI. My model is of a vehicle and I want to show its angular/ linear speeds, acceleration and forces whilst the simulation is running.
If someone could provide me with some guidance on this (maybe an example, as i find these very beneficial being new to this), i would be very appreciative.
*R2016a*
Thank you in advance!

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by