Main Content

lookfor

Search for keyword in reference page text

Description

example

lookfor keyword searches for the specified keyword in the summary line of all the references pages in the MathWorks® documentation. For all references pages in which a match occurs, lookfor displays a link to the help text for that page and the H1 line.

example

lookfor keyword -all searches the summary line and the Syntax, Description, Input Arguments, Output Arguments, and See Also sections of each reference page. For all references pages in which a match occurs, lookfor displays a link to the help text for that page and the individual lines in which a match occurs.

Examples

collapse all

Search for the word inverse in the summary line of all the references pages in the MathWorks documentation.

lookfor inverse
acos                           - Inverse cosine in radians
acosd                          - Inverse cosine in degrees
acosh                          - Inverse hyperbolic cosine
acot                           - Inverse cotangent in radians
acotd                          - Inverse cotangent in degrees
acoth                          - Inverse hyperbolic cotangent
acsc                           - Inverse cosecant in radians
acscd                          - Inverse cosecant in degrees
acsch                          - Inverse hyperbolic cosecant
...

Search for the word inverse in the summary line and the Syntax, Description, Input Arguments, Output Arguments, and See Also sections of all the reference pages in the MathWorks documentation.

lookfor inverse -all
acos:
 acos - Inverse cosine in radians
    This MATLAB function returns the Inverse Cosine (cos-1) of the elements
        Inverse Cosine of Value
        Inverse Cosine of Vector of Complex Values
        Plot Inverse Cosine Function

acosd:
 acosd - Inverse cosine in degrees
    This MATLAB function returns the inverse cosine (cos-1) of the elements
        Inverse Cosine of 0

acosh:
 acosh - Inverse hyperbolic cosine
    This MATLAB function returns the inverse hyperbolic cosine of the
        Inverse Hyperbolic Cosine of Vector
        Plot the Inverse Hyperbolic Cosine Function
...

Input Arguments

collapse all

Keyword to search for, specified as a character vector or string scalar.

Alternative Functionality

As an alternative to the lookfor command, use the find features in the Current Folder browser. For example, you can look for all occurrences of a specified word in all the MATLAB® program files in the current folder and its subfolders. For more information, see Find Files and Folders.

To search the documentation including third-party and custom documentation, use the docsearch function.

Version History

Introduced before R2006a

expand all