Time axes (horizontal axes) range of Scope

2 visualizaciones (últimos 30 días)
mohammad
mohammad el 29 de Nov. de 2011
Comentada: pankaj jood el 7 de Jul. de 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?

Respuesta aceptada

Fangjun Jiang
Fangjun Jiang el 29 de Nov. de 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 comentario
mohammad
mohammad el 29 de Nov. de 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

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by