Installation guide
6 Editing and Debugging M-Files
Entering Statements in the Editor/Debugger
In this section...
“Use Comma nd Window Feature s in the Editor/Debugger” on page 6-14
“Changing the Case of Selected Text” on page 6-14
“Undo and Redo” o n page 6-15
“Adding Comments” on page 6-15
“Tab Completion in the Editor/Debugger” on page 6-21
Use Command Window Features in the
Editor/Debugger
After opening an existing file or creating a new file in the Editor/Debugger,
enter statements in the file. Follow the same rules you would use for entering
statements in the Command Window as described in Chapter 3, “Running
Functions — Command Window and History”:
• “C ase and Space Sensitivity” on page 3 -15
• “Matching Delimiters (Parentheses)” on page 3-17
• “Entering Multiple Functions in a Line” on page 3-18
• “Entering Long Statements (Line Continuation)” on page 3-18
• “Suppressing Output” on page 3-30
• “Formatting and Spacing Numeric Output” on page 3-31
In addition, utilize the Editor/Debugger features described in the remaining
partsofthissection.
Changing the Case of S elected Text
To change the case of text in the Editor/Debugger, select the text and then
from the Text menu, select one of the following:
• Change to Upper Case to change all text to uppercase
• Change to Lower Case to change all tex t to lowercase
6-14