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에서 MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by