Ui Matlab Graphic Update

6 vues (au cours des 30 derniers jours)
Marco Maccotta
Marco Maccotta le 9 Juin 2017
Hi everyone, I'd like to ask you a question about GUi. I want to plot the output of my model in simulink while it is running. I tried to use a plot with data saved and taken from workspace; but due to the fact that I need to change some value of my model during simulation, I'd like to view my output online, like with a scope in simulink. Do you know if it is possible in some way? Thanks everybody.

Réponse acceptée

Arnav Mendiratta
Arnav Mendiratta le 13 Juin 2017
If you have your logged Simulink data in workspace, you can only "plot" it (from MATLAB) after the simulation has completed. There is no way that you can plot the data while the Simulation is running and you are tuning the parameters. That is why Simulink has 'Scopes' - to view this data in real time.
You can consider alternate data logging techniques mentioned in the documentation here:
https://www.mathworks.com/help/simulink/export-runtime-information.html

Plus de réponses (0)

Catégories

En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by