I want to iterate like on javascript. I dont know how to define true in matlab
while(true)

3 件のコメント

Jan
Jan 2021 年 5 月 11 日
What does "I dont to define true in matlab" mean?
Soveatin Kuntur
Soveatin Kuntur 2021 年 5 月 12 日
sorry typo. I was saying I dont know how to. Thanks for the answer! I just knew that matlab is having while true itself
Jan
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.

サインインしてコメントする。

 採用された回答

Jan
Jan 2021 年 5 月 11 日
編集済み: Jan 2021 年 5 月 11 日

2 投票

What's wrong with
while true
in Matlab?

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeLoops and Conditional Statements についてさらに検索

タグ

質問済み:

2021 年 5 月 11 日

コメント済み:

Jan
2021 年 5 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by