Home > Archive > Matlab > February 2007 > a time-delay in the code
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
a time-delay in the code
|
|
| andalibar@gmail.com 2007-02-28, 8:15 am |
| hi,
Is there any special matlab fuction to create a delay when a code is
running.
bests,
Arash
| |
| Ken Davis 2007-02-28, 7:14 pm |
| <andalibar@gmail.com> wrote in message
news:1172670331.936859.25980@8g2000cwh.googlegroups.com...
> hi,
> Is there any special matlab fuction to create a delay when a code is
> running.
> bests,
> Arash
>
help pause
| |
| Jeroen 2007-02-28, 7:14 pm |
| andalibar@gmail.com schreef:
> hi,
> Is there any special matlab fuction to create a delay when a code is
> running.
> bests,
> Arash
>
I cannot recall any function for that, maybe write your own like (not
very accurate for small delays...)
function delay(delay_seconds)
tic;
while toc < delay_seconds
end
| |
| Jeroen 2007-02-28, 7:14 pm |
| Ken Davis schreef:
> <andalibar@gmail.com> wrote in message
> news:1172670331.936859.25980@8g2000cwh.googlegroups.com...
> help pause
>
>
My memory is getting worse :-( ....
|
|
|
|
|