フィルターのクリア

Do-While

4 ビュー (過去 30 日間)
Salvatore Turino
Salvatore Turino 2012 年 1 月 21 日
Hallo, i want to realize in matlab the C code do-while. the condition to stop the cicle is: if save_rig==A(n). can you tell me how to realize it in matlab?actually i've done it with a for cicle+break but i don't like this solution. thank you

採用された回答

Walter Roberson
Walter Roberson 2012 年 1 月 21 日
while true
%code here
if save_rig == A(n); break; end
end
  1 件のコメント
Salvatore Turino
Salvatore Turino 2012 年 1 月 22 日
thank you

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by