Countdown

Creates a figure to countdown remaining time (minutes/seconds only).
4.2K Downloads
Updated 1 Sep 2016

View License

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.

Cite As

Brett Shoelson (2024). Countdown (https://www.mathworks.com/matlabcentral/fileexchange/18165-countdown), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Dates and Time in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.2.0.1

Updated license

1.2.0.0

Updated M file and license text file copyright to The MathWorks, Inc.

1.1.0.0

added copyright

1.0.0.0

Modified inputs to allow specification of ending message. Also provided a few examples for use.