Live overlapping XY plots in simulink

14 次查看(过去 30 天)
In Simulink, I am using the XY Graph block to view a 2D signal during simulation. Is it possible to view multiple signals on the same plot? I know the XY Graph block won't work for this, but is there another way to do this? I would prefer to view the data during the simulation rather than saving the data to the workspace and plotting afterwards.

回答(2 个)

Koray S. Erer
Koray S. Erer 2020-5-13

David Barry
David Barry 2016-12-15
I would recommend using the Simulation Data Inspector rather than scopes. https://uk.mathworks.com/help/simulink/ug/simulation-data-inspector-overview.html

Community Treasure Hunt

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

Start Hunting!

Translated by