version (2 KB) by Tim Farajian
Interesting clock that is composed of animated blocks.


Updated 17 Sep 2004

No License

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 (2022). BlockClock (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!