Displaying data plots from workspace when simulation starts

1 vue (au cours des 30 derniers jours)
Alga YT
Alga YT le 27 Déc 2018
Modifié(e) : Alga YT le 27 Déc 2018
Hi,
I am plotting graphs from simulink model saved to workspace and datas from a matlab code on the same graph. I use 'sim' command to start simulation of the simulink model and i need to display the graphs right after the simulation starts. I use refreshdata and drawnow commands but it only work for the matlab code:but the data from the simulink waits till the simulaton end. Is there any way to display simulink plot when simulation starts?
Thank you!

Réponses (0)

Catégories

En savoir plus sur View and Analyze Simulation Results dans Help Center et File Exchange

Produits


Version

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by