Countdown

Creates a figure to countdown remaining time (minutes/seconds only).

You are now following this Submission

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 (2026). Countdown (https://se.mathworks.com/matlabcentral/fileexchange/18165-countdown), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
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.