Simulink block for plotting output (on Y axis) with input (on X-axis)?

Time dependent signal is input to a simulink model which give time dependent output, both are continuous functions, we can separately plot input/output signal values as a function of time but we want to plot input value with output value for a particular time. Does Simscape have block for that? please help. Thank you in advance.

 Accepted Answer

There is an X-Y Graph block in Simulink. For this, you'd have to convert your signals from Simscape sensors using PS-Simulink Converter blocks.
Alternatively, if you are using Simscape logging, you can use the plotxy function on your logged data.
- Sebastian

More Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!