Plotting in semi-realtime

1 次查看(过去 30 天)
Caleb
Caleb 2013-7-25
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?

回答(2 个)

Iain
Iain 2013-7-25
pause(delay_time)
That's likely what you're looking for.
  1 个评论
Caleb
Caleb 2013-7-25
Would that have to be done within a loop, so I could pause a certain amount of time between each iteration?

请先登录,再进行评论。


Jan
Jan 2013-7-25
You can use a timer to perform changes with a specified rate:
doc timer

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by