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

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

More Answers (0)

Categories

Asked:

on 21 Aug 2020

Answered:

Rik
on 21 Aug 2020

Community Treasure Hunt

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

Start Hunting!