Main Content

Model Finder

Search, filter, and browse examples, models, and projects

Since R2023b

Description

Use the Model Finder user interface (UI) to search, filter, and browse examples, models, and projects across multiple databases.

When you enter a search query, Model Finder returns a set of examples, models, and projects that match your search string in the selected databases.

Using the Model Finder UI, you can:

  • Search — Use a search string to find examples, models, and projects.

  • Configure databases — Select multiple databases to search.

  • Filter — Narrow down the search results based on MathWorks® product names, model locations, and example components.

  • Browse — Navigate the search results. For each match, the Model Finder UI displays a summary with the name of the example, model, or project. It also displays the matched search terms highlighted in yellow, names of MathWorks products, the location of the model, and a button to open the search result. When you click a search result, the Model Finder UI displays the description and block details in the Info Panel in the right pane.

By default, the Model Finder UI searches the MathWorks database of examples and models. You can also create new databases or register any existing databases with Model Finder for searching. For more information on registering more databases, see modelfinder.registerDatabase.

Model Finder User Interface

Open the Model Finder

MATLAB® command prompt: Enter modelfinderui.

Examples

expand all

In this example, you search the MathWorks database for examples, models, and projects related to automatic vehicles and narrow the search results using filters.

  1. To open the Model Finder UI, enter modelfinderui in MATLAB Command Window.

  2. Click the Configure Databases button to display a list of registered databases. From the list of databases, select the MathWorks database modelfinder and click Save.

  3. Enter the search term automatic vehicle in the search box.

    The search results display examples, models, and projects that match the search term in annotations, blocks, or descriptions of models indexed in search databases.

  4. To narrow the search results, select the Example Component filter Simulink Automotive in the left pane of the Model Finder UI.

  5. Scroll through the search results in the center pane of the Model Finder UI.

  6. Click a search result to view its description and block details in the Info Panel in the right pane of the Model Finder UI.

  7. To open an example, click Open Example.

Parameters

expand all

To search Model Finder, enter your search terms. Model Finder supports keyword-based search and natural language query to find examples, models, and projects that match your search terms. You can use the wildcard asterisk symbol (*) with a search term for multiple character searching.

Select the databases that you want to set as the search scope for Model Finder. To add more databases in the list see Configure and Search Databases.

Displays up to five recently opened example, model, or project names. To open any of these recent search results, click the name of the example, model, or project you want to open.

Use filters to narrow down your search results in Model Finder. Depending on the search results, you may see some or all of these filters displayed in the Model Finder UI:

FilterDescription
Matched InLocations of the textual information of models that match the search terms. This includes the model description, annotation, or block
ProductNames of the MathWorks products used by the examples, models, or projects
Location

Paths to the models or projects

Example Component

Names of the example components

The description and block statistics of the selected search result. If a model file does not have a model description, the Info Panel displays that a description is not available.

Version History

Introduced in R2023b