• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 15854
  • Last Modified:

Matlab Scripting - Time Delay

Hello,

I have a Matlab script and was wondering how to create a time delay like a sleep.

Thanks in Advance.
0
cactus1
Asked:
cactus1
1 Solution
 
RNMcLeanCommented:
Well, there is a "wait" command, but you have to mess about with "timer objects", a load of drivel compared to the simple idea of waiting n milliseconds via wait(n);
0
 
markov123Commented:
Hi cactus1

In order to create time delay in matlab, you need the following expression in your code:

pause(n);

where n is the number of seconds.


All the best.

Mark
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now