Timer Functions in MATLAB: tic and toc functions
Version 1.0.0 (1.84 KB) by
Dr. Kelsey Joy
Track time it takes to run some code. You can also track time it takes your user to interact with your code like this example (math quiz).
For more of my YouTube Videos, check out my MATLAB tutorial playlist: https://youtube.com/playlist?list=PLmB_c16LoAcWz_5qK1XpBlP0DiD6cgU-r
Cite As
Dr. Kelsey Joy (2024). Timer Functions in MATLAB: tic and toc functions (https://www.mathworks.com/matlabcentral/fileexchange/106940-timer-functions-in-matlab-tic-and-toc-functions), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2021b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
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 |