Documentation Center

  • Trial Software
  • Product Updates
我们为许可用户提供了部分翻译好的中文文档。您只需登录便可查阅这些文档

Find Functions to Use

This example shows how to find the name and description of a MathWorks® function from the Command Window or Editor using the Function browser.

  1. Click the Browse for functions button, . In the Command Window, this button is to the left of the prompt. In the Editor, the button is on the Editor tab, in the Edit section. The Function browser opens.

      Tip   The Function browser closes when you move the pointer outside of it. To keep the browser open, drag it by the top edge to a different location.

  2. Optionally, select a subset of products to display in the list. Click the product area at the bottom of the browser (where the text All installed products appears by default), and then set the Selected Products preference and click OK. This preference also applies to the Help browser.

  3. Find functions by browsing the list or by typing a search term. For example, search for the term fourier.

    In the search results, a parenthetical term after a function name indicates either that the function is in a product folder other than MATLAB®, or that there are multiple functions with the same name. For example, fft (comm) corresponds to the fft function in the Communications System Toolbox™ folder.

  4. Select a function that you would like to use or learn more about, as follows.

    • Insert the function name into the current window by double-clicking the name. Alternatively, drag and drop the function name into any tool or application.

    • View syntax information for the function by single-clicking its name. A brief description for each of the syntax options displays in a yellow pop-up window.

        Tip   The pop-up window automatically closes when you move your pointer to a new item in the results list. To keep the pop-up window open, drag it by the top edge to a different location.

You can change the font that the Function browser uses by setting preferences. On the Home tab, in the Environment section, select Preferences > Fonts. By default, the Function browser uses the desktop text font and the pop-up window uses the Profiler and Comparison Tool font.

Was this topic helpful?