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

4 vues (au cours des 30 derniers jours)
Alex
Alex le 2 Mai 2024
Commenté : Alex le 3 Mai 2024
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 commentaires
Manikanta Aditya
Manikanta Aditya le 2 Mai 2024
"I can't click on it"
Is the icon not seen in your script at all to click?
Alex
Alex le 3 Mai 2024
The icon is there but clicking on it does nothing.

Connectez-vous pour commenter.

Réponses (1)

Stephen23
Stephen23 le 2 Mai 2024
Modifié(e) : Stephen23 le 2 Mai 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:

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by