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

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

Sebastian Castro
Sebastian Castro on 5 Oct 2015
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)

Products

Community Treasure Hunt

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

Start Hunting!