"Close" all loops in a script m file
4 次查看(过去 30 天)
显示 更早的评论
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?
采纳的回答
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.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 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!