Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

function in matlab to delay() function in C

37 views
Skip to first unread message

Abhi

unread,
Jul 20, 2008, 5:41:13 AM7/20/08
to
I am interfacing port to generate clock via parallel port. Is there any fucntion in C which can introduce a given delay . I remember in TURBO C++ 3.0, there was a function delay(milliseconds) in file 'DOS.H'

Bruno Luong

unread,
Jul 20, 2008, 7:06:07 AM7/20/08
to
Abhi <abhit...@gmail.com> wrote in message
<29325805.1216546903...@nitrogen.mathforum.org>...

IIRC, there is no standard C function, so each
compiler/system has they own function. But try these:

Sleep(), sleep(), ...

For visual C, see here
http://msdn.microsoft.com/en-us/library/ms686298.aspx

Bruno

0 new messages