Function Reference
— Command: lookfor str
— Command: lookfor -all str
— Function: [fun, helpstring] = lookfor (str)
— Function: [fun, helpstring] = lookfor ('-all', str)

Search for the string str in all of the functions found in the function search path. By default lookfor searches for str in the first sentence of the help string of each function found. The entire help string of each function found in the path can be searched if the '-all' argument is supplied. All searches are case insensitive.

Called with no output arguments, lookfor prints the list of matching functions to the terminal. Otherwise the output arguments fun and helpstring define the matching functions and the first sentence of each of their help strings.

Note that the ability of lookfor to correctly identify the first sentence of the help of the functions is dependent on the format of the functions help. All of the functions in Octave itself will correctly find the first sentence, but the same can not be guaranteed for other functions. Therefore the use of the '-all' argument might be necessary to find related functions that are not part of Octave.

See also: help which