Plotting in semi-realtime

I'm putting together a GUI containing multiple time-dependent plots. I want to take data that has already been collected and allow the user to control how fast it is displayed on the graphs. Effectively, I want the user to be able to control time with stop, start, FF, and Rewind (though Rewind is not so important).
How do I control how fast MATLAB performs commands?

Respuestas (2)

Iain
Iain el 25 de Jul. de 2013

0 votos

pause(delay_time)
That's likely what you're looking for.

1 comentario

Caleb
Caleb el 25 de Jul. de 2013
Would that have to be done within a loop, so I could pause a certain amount of time between each iteration?

Iniciar sesión para comentar.

Jan
Jan el 25 de Jul. de 2013

0 votos

You can use a timer to perform changes with a specified rate:
doc timer

Categorías

Más información sobre MATLAB en Centro de ayuda y File Exchange.

Preguntada:

el 25 de Jul. de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by