Section folding unavailable in r2025a?

Hi. I just installed Matlab r2025a and section folding seems to be unavailable. The minus signs that are usually next to the section headers are missing. When I go to the view tab and hit "collapse all," only the comment blocks and loops get collapsed. Any ideas?
Thanks,

 Accepted Answer

On the Home tab, click on the Settings button in the Environment section. Expand the Editor/Debugger item under MATLAB then select Code Folding. Check if the Sections item is selected (I believe it is not selected by default.)

More Answers (0)

Categories

Products

Release

R2025a

Asked:

on 23 Jun 2025

Answered:

on 23 Jun 2025

Community Treasure Hunt

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

Start Hunting!