Main Content

Search Web Views

A web view is an interactive rendition of a Simulink® model that you can view in a web browser. You can navigate a web view hierarchically or use the search button to view specific subsystems and see properties of blocks and signals.

Perform Search

  1. In a web view, at the top of the displayed tab, click the search button icon of a magnifying glass to open the search bar.

  2. In the search box, enter the search term. The search treats the search term as a partial string.

  3. To specify search criteria, click the search criteria button icon of a magnifying glass with a gear and select the types of model element you want to search for.

    Search for model, with name, block type, and mask type elements selected

  4. Specify search options by using the buttons to the right of the search box. All search options are unselected by default. (since R2025a)

    ButtonIconAction When SelectedAction When Unselected
    Match CaseSearch term is case sensitiveSearch term is case insensitive
    Match Whole WordSearch treats the search term as a partial stringSearch treats the search term as an exact match
    Use Regular ExpressionPerform a simple search Perform the search using regular expressions

    For more information about regular expressions, see Regular Expressions.

  5. Press Enter.

  6. Optionally to close the search bar, click the close icon .

The search highlights the returned elements of the model in yellow. The search results include the name and parent for each returned element. If you select a search result, the web view adds a blue highlight within the yellow highlight.

Search results pane showing the selected web view results, and the model with the associated blocks highlighted.

Sort Search Results

You can sort the search results in alphabetical order. In the search results table, click the Name or Parent column heading.

Navigate Between Search Results

To navigate between search results:

  1. To choose a search result you can either:

    • Select a highlighted model element from the Model viewer pane.

    • Select a result from the search results list.

  2. To move to the next search result, do one of the following:

    • Select the search result up or search result down button. (since R2024b)

    • While the search results list is the active window element, press the up arrow or down arrow keys.

  3. The Object Inspector pane displays the selected model element or search result.

Hide Search Results

Since R2024b

To hide the search result list, clear the View List check box.

Model search results user controls. The View List checkbox is highlighted by a red box.

You can navigate between search results when the search result list is hidden by using:

  • The search result up and search result down buttons.

  • The up arrow and down arrow keys, if the search result list is the active window element.

The top pane does not resize when you hide the search result list. You can manually resize the pane after hiding the list by dragging the edge of the pane to the desired size.

See Also

Functions

Topics