If you copy and paste this code into a MATLAB Editor, you see that the two section breaks
create three nested levels:
- At the outermost level of nesting, one section spans the entire file.
MATLAB only defines section in a code block if you specify section breaks at the same
level within the code block. Therefore, MATLAB considers the cursor to be within the
section that encompasses the entire file.
- At the second level of nesting, a section exists within the for loop.
- At the third-level of nesting, one section exists within the if statement.
18 Scripts