MATLAB Answers

How to continuously display past x-number of results in Scope?

1 view (last 30 days)
grega on 21 Feb 2018
Answered: Mark McBroom on 11 Mar 2018
I have simulation running for e.g. 10000 steps and while it's running I want to continuously observe just last e.g. 100 steps/results in the Scope?
At the moment, after 100 steps of simulation results are displayed, the Scope clears the results and starts to display it from the beginning of axis. Cannot figure it out how to continuously see the last 100 steps of the results in the Scope throughout the whole simulation. Suggestions, very much appreciated.

Community Treasure Hunt

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

Start Hunting!