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

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

采纳的回答

Rik
Rik 2020-8-21
Yes, look in the preferences:

更多回答(0 个)

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by