Simulink block for plotting output (on Y axis) with input (on X-axis)?
7 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
采纳的回答
Sebastian Castro
2015-10-5
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
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Logging 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!