Is there a way to create "sub-folding" / "sub-sections"?
조회 수: 58 (최근 30일)
I know I can create sections in my script editor with
Question is, can I make several layers of 'sectioning'?
I mean, similar to headings in WORD...
that way I could organize, divide & fold my code as I please...
Prateek Rai 2021년 10월 8일
To my understanding, you want to make several layers of sectioning in a MATLAB script.
This is possible when you have loop (such as for loop), conditional statement (such as an if statement) or functions in the script.
You can refer to Create and Run Sections in Code MathWorks documentation page to learn more on the behavior of sections in functions or behavior of sections in loops and conditional statements.