Time axes (horizontal axes) range of Scope

1 vue (au cours des 30 derniers jours)
mohammad
mohammad le 29 Nov 2011
Commenté : pankaj jood le 7 Juil 2017
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?
  1 commentaire
pankaj jood
pankaj jood le 7 Juil 2017
use max step size 10e-3

Connectez-vous pour commenter.

Réponse acceptée

Fangjun Jiang
Fangjun Jiang le 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 commentaire
mohammad
mohammad le 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

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by