Portion of code containing my custom functions is hidden and I cant access it.

4 visualizaciones (últimos 30 días)
So somehow my functions got hidden inside my script and there is the icon that should allow me to view everything that is hidden but for some reason it doesn't. Is this a bug or is there a setting I might have changed by mistake? here is the icon I am talking about, I can't click on it and I can see that there are roughly 300 lines of code that I can't see so I know they are hidden there.
  2 comentarios
Manikanta Aditya
Manikanta Aditya el 2 de Mayo de 2024
"I can't click on it"
Is the icon not seen in your script at all to click?
Alex
Alex el 3 de Mayo de 2024
The icon is there but clicking on it does nothing.

Iniciar sesión para comentar.

Respuestas (1)

Stephen23
Stephen23 el 2 de Mayo de 2024
Editada: Stephen23 el 2 de Mayo de 2024
The feature is called code folding:
Look on the left: between the line numbers and the code itself are some + and - symbols.
Click on the + symbols to show the code again:

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by