Installation guide

6 Editing and Debugging M-Files
The search begins at the current cursor position. MATLAB finds the text
you specified and highlights it. To find another occurrence, click Find Next
or Find Previous, or use th e keyboard shortcuts F3 and Shift+F3 (or
Command+F3 and Comm an d+Shift+F3 with Macintosh key bindings).
MATLAB beeps when a search for Find Next reaches the end of the file, or
when a search for Find Previous reaches the top of the file. If you have
Wrap around selected, it continue s searching after beeping.
Use F3 and Shift+F3 to continue finding the specified text even after closing
the Find & Replace dialog box. You can go to another file and find the
specified text in i t.
Change the selection in the Look in field to se arch for the specified text in
other MATLAB desktop tools.
Replacing Text
After finding text using the Find & Replace dia log box, you can replace
the text in the current file:
1 In the Replace with field, type the text that is toreplacethefoundtext.
2 Click Replace to replace the text currently selected, or click Replace All
to replace all instances in the current file.
The text is replaced. For Replace All, the number of instances that were
replaced appears in the Editor/Debugger status bar.
6-50