Automatic variable and function renaming is enabled by default. To disable it:
1
On the Home tab, in the Environment section, click Preferences.
(^2) Select MATLAB > Editor/Debugger > Language.
(^3) In the Language field, select MATLAB.
(^4) Clear Enable automatic variable and function renaming.
Changing the automatic variable and function renaming preference is not supported in
the Live Editor or in MATLAB Online.
Find and Replace Any Text
You can search for, and optionally replace specified text within a file. On the Editor or
Live Editor tab, in the Navigate section, click Find to open and use the Find &
Replace dialog box.
Find Text in Multiple File Names or Files
You can find folders and file names that include specified text, or whose contents contain
specified text. On the Editor or Live Editor tab, in the File section, click Find Files
to open the Find Files dialog box. For details, see “Find Files and Folders”.
Function Alternative for Finding Text
Use lookfor to search for the specified text in the first line of help for all files with
the .m extension on the search path.
Perform an Incremental Search in the Editor
When you perform an incremental search, the cursor moves to the next or previous
occurrence of the specified text in the current file. It is similar to the Emacs search
feature. In the Editor, incremental search uses the same controls as incremental search in
the Command Window. For details, see “Search Using Keyboard Shortcuts”.
24 Coding and Productivity Tips