Clear Filters
Clear Filters

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

2 views (last 30 days)
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.

Answers (1)

Stephen23 on 2 May 2024
Edited: Stephen23 on 2 May 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:


Find more on Function Creation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!