How can I plot a graph from Simulink while simulating?

7 views (last 30 days)
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?

Answers (1)

Fangjun Jiang
Fangjun Jiang on 15 Dec 2020
Use the blocks from the Simulink, Dashboard library, e.g. Dashboard Scope block.

Categories

Find more on View and Analyze Simulation Results in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!