Is there any examples that uses Wait.m?

1 vue (au cours des 30 derniers jours)
Michael Adelman
Michael Adelman le 13 Juil 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?

Réponse acceptée

Albert Yam
Albert Yam le 13 Juil 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,

Plus de réponses (0)

Catégories

En savoir plus sur Loops and Conditional Statements dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by