The ability to directly display values of points on a Simulink scope window is currently not available in Simulink 7.3 (R2009a).
You can export your data to MATLAB and use the SIMPLOT command to plot your data from MATLAB. This will generate a MATLAB figure that will have menu properties. Now, like in MATLAB figures, you can now click on the “View” menu in scope window and select “Figure Toolbar” option. Then click the “Data cursor” icon which has a “+” sign on it. This will allow you to select the data points in the figure window by using the mouse. For more information about SIMPLOT, type 'help simplot' at the MATLAB command window prompt.
If you need to manipulate the Scope window for simulation, you can use the following snippet of code:
shh = get(0,'ShowHiddenHandles');
set(0,'ShowHiddenHandles','On');
set(gcf,'menubar','figure');
set(gcf,'CloseRequestFcn','closereq');
set(gcf,'DefaultLineClipping','Off');
set(0,'ShowHiddenHandles',shh);
NOTE: Simulink does not support manipulating graphics properties using the Scope or Signal Viewer handle. When manipulating any graphics properties, do not change or alter the structure of the scope. For example, you should not delete any of the graphical objects (text, axes, menus, etc) in the scope as this could lead to unstable behavior.
Best Answer