Is there any examples that uses Wait.m?

1 次查看(过去 30 天)
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?

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Loops and Conditional Statements 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by