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

6 次查看(过去 30 天)
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.

回答(1 个)

Stephen23
Stephen23 2024-5-2
编辑:Stephen23 2024-5-2
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:

类别

Help CenterFile Exchange 中查找有关 Function Creation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by