How can I plot a graph from Simulink while simulating?

15 vues (au cours des 30 derniers jours)
Cosmin Adrian Leordean
Cosmin Adrian Leordean le 15 Déc 2020
I have a simulink model so I can see the behaviour of several motors on a scope. Besides, I made an app using Matlab's app designer to plot the graph I get on the scope, but the plotted data is the final whole graph, I cannot see how the speed increases while simulating. In other words, I can't see the 'real time' graph from my simulation.
Does anyone know how to do that, or if there's any module that can do it?

Réponses (1)

Fangjun Jiang
Fangjun Jiang le 15 Déc 2020
Use the blocks from the Simulink, Dashboard library, e.g. Dashboard Scope block.

Catégories

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

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by