28.12.2012 Views

Figure Properties - SERC

Figure Properties - SERC

Figure Properties - SERC

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

lookfor<br />

2lookfor<br />

Purpose Search for specified keyword in all help entries<br />

Syntax lookfor topic<br />

lookfor topic -all<br />

Description lookfor topic searches for the string topic in the first comment line (the H1<br />

line) of the help text in all M-files found on the MATLAB search path. For all<br />

files in which a match occurs, lookfor displays the H1 line.<br />

Examples For example<br />

2-1374<br />

lookfor topic -all searches the entire first comment block of an M-file<br />

looking for topic.<br />

lookfor inverse<br />

finds at least a dozen matches, including H1 lines containing “inverse<br />

hyperbolic cosine,” “two-dimensional inverse FFT,” and “pseudoinverse.”<br />

Contrast this with<br />

or<br />

which inverse<br />

what inverse<br />

These functions run more quickly, but probably fail to find anything because<br />

MATLAB does not have a function inverse.<br />

In summary, what lists the functions in a given directory, which finds the<br />

directory containing a given function or file, and lookfor finds all functions in<br />

all directories that might have something to do with a given keyword.<br />

Even more extensive than the lookfor function is the find feature in the<br />

Current Directory browser. It looks for all occurrences of a specified word in all<br />

the M-files in the current directory. For instructions, see Finding Files and<br />

Content Within Files.<br />

See Also dir, doc, filebrowser, findstr, help, helpdesk, helpwin, regexp, what,<br />

which, who

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!