Installation guide
6 Editing and Debugging M-Files
Code folding is p articularly useful for improving readability when an M-file
contains numerous subfunctions and you want to hide code on which you
are not currently working.
When you fold a function, all the code asso ciated with that function (including
any help code) is collapsed such that the Editor/Debugger displays only the
function definition line. The function definition line is appended with an
ellipsis icon
to indicate there is more function code.
Thefollowingimageshowsthe
collatz function code expanded and the
collatzall and collatzplot_new functions collapsed:
6-32