Time axes (horizontal axes) range of Scope

1 view (last 30 days)
I set simulation time on 5000s but after stopping simulation, Scope displays from 4995s to 5000s and not from 0 to 5000. what's the problem?

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 29 Nov 2011
By default, the Scope block has a limit of 5000 data points. Change the Scope parameters in the "Data History" tab to allow more data points.
However, if your simulation from 4995s to 5000s takes 5000 data points, you may have too many data points. You don't need that many data points to show in the scope. You won't be able to tell it anyway. Change the sampling decimation from 1 to 10 or even 100, 1000 to reduce the data pints but still give you a big picture of the curve.
  1 Comment
mohammad
mohammad on 29 Nov 2011
It's needed to display signal from 0 to 11000! but because of memory error I have to set to 5000. but by eliminating limitation of data points and setting time range (in general tab), to 5000 and save all of this setting by pushing related bottom (save current axes setting) it was solved.
thanks a lot fangjun. you are really so professional

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!