while loop in matlab
이전 댓글 표시
I want to iterate like on javascript. I dont know how to define true in matlab
while(true)
댓글 수: 3
Jan
2021년 5월 11일
What does "I dont to define true in matlab" mean?
Soveatin Kuntur
2021년 5월 12일
Jan
2021년 5월 12일
true is an existing Matlab command, which creates a logical variable. Instead of "while true" you can use "while 1" also.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!