Installation guide

3 Running Functions Command Window and History
Searching in the Command Window
In this section...
“Introduction” on page 3-34
“Find Dialog Box” on page 3-34
“Incremental Search” on page 3-35
Introduction
Yo u can search for specified text that appears in the Command Window,
where the text was either part of input you supplied, or output displayed by
MATLAB. After finding the desired text, you can copy and p aste it to the
prompt in the Command Window to run it, or into an M-file or other file.
See also “Recalling Previous Lines” on p age 3-19, “Tab Completion in the
Command Window” on page 3-20, and “Keyboard Shortcuts in the Command
Window” on page 3-26 for techniques to reuse p revious statements and
navigate in the Command Window. To find files and text in files, see “Finding
Files and Content Within Files” on page 5-49.
Find Dialog Box
Select Find from the Edit m enu to search for specified text in the Command
Window using the Find dialog box. Complete the dialog box. The search
begins at the current cursor position. MATLAB finds the tex t you specified
and highlights it. Click Find Next or Find Previous to find another
occurrence, or use the keyboard shortcuts F3 and Sh ift+F3.
3-34