Code covered by the BSD License  

Highlights from
Millisecond Pause Function

Be the first to rate this file! 18 Downloads (last 30 days) File Size: 1.14 KB File ID: #41257
image thumbnail

Millisecond Pause Function

by

 

Pause for specified amount of time, in milliseconds.

| Watch this File

File Information
Description

This function makes use of tic toc to delay for short periods of time.

The original author of this should be attributed to Marcel Kraemer.

   Example of use:
       %Pause for 100 milliseconds
       milliPause(100);

Required Products MATLAB
MATLAB release MATLAB 7.14 (R2012a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
15 Apr 2013 Jan Simon

Letting a loop run until the end time is reached wastes power. java.lang.Thread.sleep(duration) would be more efficient and accurate.

13 Apr 2013 animati

thank, its useful function.

Contact us