Scope display from Simulink within MATLAB GUI
Mostrar comentarios más antiguos
I'm looking to display live simulation data from a scope within a MATLAB figure/ UI I've created. I'm aware you're able to send Simulink data to the workspace and plot afterwards, however, I would like to see a 'live' plot in sync with the simulation.
I have a basic model which outputs variables such as 'speed', 'distance', 'fuel consumption' etc... and have made my GUI programmatically (not using GUIDE).
I'm aware 'event listeners' can be used to show 'live' simulation data within a GUI however I'm unsure of how to do this. I've seen an example which was rather complicated and difficult to follow.
I hope you can help! An example code would be very useful, I simply want to just display the data from some scopes I've set up within a GUI.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Event Functions en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
