Clear Filters
Clear Filters

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

1 view (last 30 days)
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

Answers (0)

Categories

Find more on Shifting and Sorting Matrices in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!