Creates a figure to countdown remaining time (minutes/seconds only).
By default, the figure includes an optical illusion created with lines and patches. This can be turned off.
SYNTAX:
countdown(MINS)
countdown(MINS,SECS)
countdown(MINS,SECS,SHOWILLUSION)
(Third argument is optional; enter 0 to suppress optical illusion.)
Shows how to use timer objects and callbacks.
Brett Shoelson (2021). Countdown (https://www.mathworks.com/matlabcentral/fileexchange/18165-countdown), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
very good thanks! (useful)
perhaps I would add an optional sound at end to let you know. Say for example:
meow(1)
if that did not make sense please see:
http://www.mathworks.com/matlabcentral/fileexchange/24473-meow-m