Adding event listeners to show Simulink data on MATLAB GUI

1 view (last 30 days)
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!

Answers (0)

Categories

Find more on Event Functions in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!