Arduino - Loop Time S-Function
Version 1.0.0.0 (16.7 KB) by
Auralius Manurung
Calculate time for 1 loop iteration in Arduino
Calculate time for 1 loop iteration in Arduino.
The output is in ms. Replace millis() to micros() to get output in us.
Tested on Leonardo, Uno and Mega 2560
Cite As
Auralius Manurung (2024). Arduino - Loop Time S-Function (https://www.mathworks.com/matlabcentral/fileexchange/55691-arduino-loop-time-s-function), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2015b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Block and Blockset Authoring in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired by: Device Drivers
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 |