MATLAB: Display of amplitude and time at each point in a range of a signal in simulink display 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? Best Answer 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. Related SolutionsMATLAB: Plot saved data in the sope You can use a From Workspace blocks. If y is your saved structure variable with time, just put it in the from workspace block parametersYou can also use a from file block MATLAB: Modifying plots produced by simulink scope Hello Unnikrishnan, I recommend using the To Workspace block to transfer data from Simulink to MATLAB. This way you can also easily export figures for reporting purposes (publications, presentations). Related Question
Best Answer