Clear Filters
Clear Filters

Is it possible to group if-end code in the same way as a for loop?

2 views (last 30 days)
As specified in the title, i'd like to know if it is possible to 'hide' the body of an if-end portion of code in the same way that is available for a for loop, in which a section is automatically created between the for and the end, allowing to show or hide the lines between the two commands with the plus/minus symbol.

Accepted Answer

Rik
Rik on 21 Aug 2020
Yes, look in the preferences:

More Answers (0)

Categories

Find more on Variables 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!