Can I "collapse all in" the editor like in the help browser

67 visualizaciones (últimos 30 días)
When I work in a class I usually collapse all my methods (functions) to get a better overwiew. BUT I cant seem to find a way of collapsing all of them at once, instead I have to do them one by one...
Im I just missing something super simple or is matlab actually lacking this feature in the Editor?

Respuesta aceptada

Steven Lord
Steven Lord el 13 de En. de 2017
From the documentation: "To expand or collapse all of the code in a file, place your cursor anywhere within the file, right-click, and then select Code Folding > Expand All or Code Folding > Fold All from the context menu."
  4 comentarios
Ben Henley
Ben Henley el 1 de Ag. de 2022
Please respond @StevenLord, how do you "Fold All" in Matlab 2022a?
Adam Danz
Adam Danz el 2 de Ag. de 2022
Editada: Adam Danz el 2 de Ag. de 2022
Updated link to documentation explaining how to expand or collapse all
Screenshot from 22a, View tab.

Iniciar sesión para comentar.

Más respuestas (1)

Wenxuan Jia
Wenxuan Jia el 27 de Jun. de 2023
You should search "Fold-all" instead of "Collapse-all" in the keyboard shortcut menu. I was also confused for a while.

Categorías

Más información sobre Desktop en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by