BlockClock

Interesting clock that is composed of animated blocks.

You are now following this Submission

Editor's Note: This file was a File Exchange Pick of the Week

This code uses basic MATLAB graphics and real-world dynamics to create an interesting timekeeper that is fairly addictive to watch.

This code is also a good demonstration of the use of nested functions and timer objects.

Cite As

Tim Farajian (2026). BlockClock (https://in.mathworks.com/matlabcentral/fileexchange/5876-blockclock), 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