Time display

Display time in format hh:mm:ss instead of soconds like in toc.

You are now following this Submission

Normally MATLAB itself supplies a set of buildin function tic and toc to read stopwatch timer. But toc returns time in seconds, and accumulate every time when user type 'toc' before another 'tic' is entered. sometimes it is hard to read a during time in seconds. So this function helps to convert seconds to normal digital watch format hh:mm:ss.

Cite As

Po Hu (2026). Time display (https://www.mathworks.com/matlabcentral/fileexchange/8318-time-display), 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.0.0.0