Simple Digital Clock
Version 1.0.0.0 (2.3 KB) by
Jeremy Chen
A digital clock which displays the time based on the system clock
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 LinuxCategories
Find more on Clocks and Timers in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |