MATLAB: How to hold the current graph displayed by the Scope block in Simulink 5.0 (R13)

comparedataholdinspectoronplotpreviousscopesimulink

I would like to hold the graphs displayed in a Scope figure so that new graphs are overlayed on top of the old graphs.

Best Answer

The ability to hold the current graph in a Scope figure is not available in Simulink.
Starting with MATLAB R2011a, you can instead use the Simulink Data Inspector to compare signal values from multiple runs on the same plot. To learn more about using the Simulink Data Inspector, see the following documentation page:
https://www.mathworks.com/help/simulink/ug/simulation-data-inspector-overview.html
Related Question