infinite while loop in MATLAB code

조회 수: 8 (최근 30일)
Sairah
Sairah 2017년 7월 27일
댓글: Sebastian Castro 2017년 7월 27일
Can I run more than one infinite while loop in MATLAB code?

답변 (1개)

Sebastian Castro
Sebastian Castro 2017년 7월 27일
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
Sairah
Sairah 2017년 7월 27일
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?
Sebastian Castro
Sebastian Castro 2017년 7월 27일
Ah, in the case of a GUI it is then pretty common to start timers that run stuff in the background.
- Sebastian

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 루프와 조건문에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!