infinite while loop in MATLAB code

回答(1 个)

Sebastian Castro
Sebastian Castro 2017-7-27

0 个投票

What stops you from putting the contents of multiple loops in a single while-loop?
Another option is to use MATLAB timers so you can schedule multiple sets of commands in one MATLAB session. This is a more advanced concept and likely needs a good justification; else, my first question stands.
- Sebastian

2 个评论

Actually sebestian I am making a GUI for positioning and tracking of Multiple objects I received the localization and position information from the networking in infinite way so please guide how can I solve it then?
Ah, in the case of a GUI it is then pretty common to start timers that run stuff in the background.
- Sebastian

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 루프와 조건문 的更多信息

Community Treasure Hunt

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

Start Hunting!