Installation guide

6 Editing and Debugging M-Files
To com m ent a contiguous group of lines, type %{ before the first line and
%} afterthelastlineyouwanttocomment. Thisisreferredtoasablock
comment. The lines that contain
%{ and %} can contain spaces, but not
contain any other text. After typing the opening block comment symbol,
%{,
all subsequent lines assume the syntax highlighting color for comments until
you type the closing block c o mment symbol,
%}. Remove the blo ck comment
symbols,
%{ and %}, to uncomment the lines.
This examples shows some lines of code commented out. When you run the
M-file, the commented lines will not execute. This is useful when you want to
identify the section of a file thatisnotworkingasexpected.
You can easily extend a block comment wi thout lo sing the original block
comment, that is, create a nested block comment, as shown in the following
example.
6-18