View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from

4.4 | 9 ratings Rate this file 11 Downloads (last 30 days) File Size: 7.42 KB File ID: #9503 Version: 1.0
image thumbnail



Scott Frasso (view profile)


03 Jan 2006 (Updated )

An Analog clock that uses the Timer function and callbacks

| Watch this File

File Information

This is an analog clock function that I wrote my first week on co-op at the Mathworks. This function uses the timer object to update the clock face ever .1 seconds. This also uses polygons instead of lines to generate the clock hands. The code is pretty straight forward and is a great excersize for any first timer MATLAB users.


This file inspired Analog Clock.

MATLAB release MATLAB 7.1.0 (R14SP3)
MATLAB Search Path
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (9)
29 May 2016 saeed saifyzadeh

22 Oct 2009 Ravi Jonnal

I don't know how well this works "out of the box", but I hacked a bunch of the code out of the m-files and used it in some retinal image videos and it worked great.

22 Sep 2008 v m

13 Apr 2007 Joseph Kirk

I like this clock. It works well, has plenty of comments, and a nice display.
I would suggest putting it in the FEX->Utilities->Clock section rather than FEX->Gallery though...

06 Jan 2006 Michael Kleder

Very nice.

05 Jan 2006 S Wiggin

Works very nicely!

05 Jan 2006 John D'Errico

With this (correct) release of scottsclock, I must revise my review upwards. Since its an "old" style clock, in deference to those old Timex watch ads, I tested it by running over the clock with a Simulink model of a Sherman tank. It takes a licking and keeps on ticking.

04 Jan 2006 John D'Errico

Perhaps the best description of this clock is "timeless".

04 Jan 2006 urs (us) schwarz

did you look at what you uploaded? as of now, this submission is completely useless

31 Mar 2016 1.0


01 Sep 2016 1.0


Contact us