Is there any examples that uses Wait.m?

1 visualización (últimos 30 días)
Michael Adelman
Michael Adelman el 13 de Jul. de 2012
Hi,
I have two endless loops (while) that need to draw plots. each loop has a condition to switch from one to other.
I get a lot of errors that the execution of the content of the loop unable to keep up with the frequency of the loop itself.
I was thinking to use Wait.m to slow down a bit the loop.
Is there any examples to understand properly how to use Wait.m?

Respuesta aceptada

Albert Yam
Albert Yam el 13 de Jul. de 2012
I'm not sure what you mean by "content of the loop unable to keep up with the frequency of the loop itself". However, you mentioned drawing plots in the loop, perhaps try:
or if you want a delay type slow down,

Más respuestas (0)

Categorías

Más información sobre Loops and Conditional Statements en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by