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

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

Réponses (0)

Catégories

En savoir plus sur Loops and Conditional Statements dans Centre d'aide et File Exchange

Question posée :

P
P
le 28 Nov 2013

Community Treasure Hunt

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

Start Hunting!

Translated by