Time delay

2 Ansichten (letzte 30 Tage)
satendra kumar
satendra kumar am 6 Jan. 2012
I need to plot the data generated by the Script after a 20 milli second time. So question is "how to produce the time delay in matlab...????" I mean is there any specific command to do so.

Akzeptierte Antwort

C.J. Harris
C.J. Harris am 6 Jan. 2012
See:
doc pause

Weitere Antworten (1)

Daniel Shub
Daniel Shub am 6 Jan. 2012
20 ms is going to be very difficult to obtain. Your monitor is probably running at 60 Hz or so. You can only refresh data on screen flips and this requires careful coding in C to get at the video card drivers. Further, MATLAB does not have particularly good internal timing mechanisms, especially when running in Microsoft Windows.
Depending on what you are updating, you can probably go to much slower rates without a noticeable visual effect.

Kategorien

Mehr zu MATLAB Report Generator finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by