display of amplitude and time at each point in a range of a signal in simulink

3 次查看(过去 30 天)
I want a plot/scope/graph where I can display the y-value at those x-values that i specify? Can anyone help me with this please?

采纳的回答

TAB
TAB 2012-1-25
Create a m-file s-function, in which you can collect the Y values at your X values and plot it on figure.
--OR--
Save the X & Y values to base worksapce using 'To Workspace' block and write m-script to plot them.
  4 个评论
meera
meera 2012-1-25
Hey Tab,
Can't it be the other way around, I wanna import data from workspace into simulink using 'from workspace'

请先登录,再进行评论。

更多回答(2 个)

Samitha
Samitha 2012-1-25
Regarding the Simulink thing!
Presumably this article might be helpful as it explains the way which a scope plot can be converted to a figure (more or less).

Samitha
Samitha 2012-1-26

类别

Help CenterFile Exchange 中查找有关 General Applications 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by