delay

Waits for the specified number of seconds.
6.2K Downloads
Updated 26 Nov 2003

View License

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 (2024). 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 Linux
Categories
Find more on Digital Input and Output in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0