Simple code that waits for the specified number of seconds. To use it, call "myWait(DeltaT)" with DeltaT in [s]. It does so using MATLAB timers, in this way it doesn't take computer resources (CPU), allowing other programs to run simultaneously.
Cite As
Axel Martinez Möller (2026). delay (https://www.mathworks.com/matlabcentral/fileexchange/4194-delay), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R13
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Digital Input and Output in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
