You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 (2026). Arduino - Loop Time S-Function (https://nl.mathworks.com/matlabcentral/fileexchange/55691-arduino-loop-time-s-function), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: Device Drivers
General Information
- Version 1.0.0.0 (16.7 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
