Is there any examples that uses Wait.m?

1 visualizzazione (ultimi 30 giorni)
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?

Risposta accettata

Albert Yam
Albert Yam il 13 Lug 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,

Più risposte (0)

Categorie

Scopri di più su Loops and Conditional Statements in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by