"Close" all loops in a script m file

4 ビュー (過去 30 日間)
alpedhuez
alpedhuez 2018 年 6 月 14 日
コメント済み: alpedhuez 2018 年 6 月 16 日
I have multiple for loop
for a=1
test
end
for b=1
test
end
In an editor I can "close" the loops with (+) and (-). Is there any way to close all loops in a script file?
  1 件のコメント
KSSV
KSSV 2018 年 6 月 14 日
What's the condition to close the loops?

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

採用された回答

Steven Lord
Steven Lord 2018 年 6 月 14 日
Yes, it is possible to fold all loops in a file. See the "Code Folding" section on this documentation page for more information.
  1 件のコメント
alpedhuez
alpedhuez 2018 年 6 月 16 日
Great help.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLoops and Conditional Statements についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by