File Exchange

image thumbnail


version (68.2 KB) by Robert
Adds a count-up timer to the status bar of the Command Window or a figure

1 Download

Updated 23 Sep 2016

From GitHub

View Version History

View license on GitHub

t = STATUSBARTIMER([h],[prefix],) sets the MATLAB status bar to the prefix
("Busy..." if omitted or left blank) followed by a running clock of the
elapsed time. STATUSBARTIMER uses a timer object named statusbarTimer
to keep track of the elapsed time and update the status bar text. The
function returns a handle to that timer object, which will delete
itself and reset the status bar when stop(t) is called.

Cite As

Robert (2021). statusbarTimer (, GitHub. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Inspired by: statusbar, parseTime, num2sepstr

Community Treasure Hunt

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

Start Hunting!