Simple Digital Clock

A digital clock which displays the time based on the system clock
2.1K Downloads
Updated 26 Jan 2010

View License

Uses the inbuilt clock function to get the system time. Using this, some conditional statements are used to determine what sections of the display need to be fully coloured in in order to display the correct digits. The display is created using patches and the sections of the digits are switched 'on' or 'off' by controlling the alpha values of the patches.

Cite As

Jeremy Chen (2024). Simple Digital Clock (https://www.mathworks.com/matlabcentral/fileexchange/26488-simple-digital-clock), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Clocks and Timers in Help Center and MATLAB Answers
Tags Add Tags
fun

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0