How to create a timer to re-load updated figures??

1 次查看(过去 30 天)
How can I create a timer to refresh my script every minute?
I have figures/graphs in my script which change based on live data that is updated in my script every minute.
I want to show all of the figures, hold for a minute (matlab does nothing), then runs the script again and display the new figures with those updated values.
The timer remains INDEFINITELY i.e until the user hits esc/exit command.
I'm aware of tic, toc and pause but can't get them to work i.e
tic
*script code*
toc
pause

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Shifting and Sorting Matrices 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by