"Close" all loops in a script m file
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
alpedhuez
el 14 de Jun. de 2018
Comentada: alpedhuez
el 16 de Jun. de 2018
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 comentario
Respuesta aceptada
Steven Lord
el 14 de Jun. de 2018
Yes, it is possible to fold all loops in a file. See the "Code Folding" section on this documentation page for more information.
Más respuestas (0)
Ver también
Categorías
Más información sobre Loops and Conditional Statements en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!