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'
TAB
TAB 2012년 1월 27일
No clear why you want to use 'from workspace' block...??

댓글을 달려면 로그인하십시오.

추가 답변 (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