Documentation Center

  • Trial Software
  • Product Updates


Find Model Objects

Use the Finder to locate blocks, signals, states, or other objects in a model.

  1. Open the Finder. In the Simulink® Editor, either select Edit > Find, or press Ctrl+F.

  2. In the Filter options area, specify the kinds of objects to look for, and where to search for them. See Filter Options.

  3. In the Search criteria area, specify the criteria that objects must meet to satisfy your search request. See Search Criteria.

  4. If you have more than one system or subsystem open, click the Start in system list. From this list, select the system or subsystem where you want the search to begin.

  5. Click Find.

The Finder searches the selected system for objects that meet the criteria that you have specified. Any objects that satisfy the criteria appear in the results panel at the bottom of the dialog box.

Display a Found Object

To display a found object, double-click its entry in the search results list. Simulink opens the system or subsystem that contains the object (if necessary) and highlights and selects the object.

To sort the results list based on the values in a column, click the button at the top of that column. For example, to sort the results by object type, click the Type button. To sort the list in ascending order, click the button once. To sort the list in descending order, click the button twice.

To display the parameters or properties of an object, right-click the object in the list. From the context menu, select Parameter or Properties.

If you close a model that has objects in the Finder search results list, then double-clicking a found object from that model does not open the model. To open an object that was in the Finder search results list, simply rerun the search by clicking the Find button.

Filter Options

To specify the kinds of objects to look for, and where to search for them, use the Filter options panel.

Object Type List

The object type list lists the types of objects that the Finder can find. To exclude a type of object from the Finder search, clear the check box for the object.

Specifying Kinds of Systems To Search

You can configure the Finder to search inside masked systems, linked library systems, and referenced models. The search starts with the system that you specify in the Start in system field.

Object Type OptionWhere the Finder Searches

Look inside masked systems

Inside masked subsystems

Look inside linked systems

Inside subsystems linked to libraries

Look inside referenced models

Inside referenced models, down through a model reference hierarchy

    Note:   The Finder loads unopened referenced models. You can stop the search by using the pop-up cancel dialog box.

If you select more than one option, then the Finder searches in systems that fit any of the specified options. For example, if you select the Look inside linked systems and Look inside referenced models options, then the Finder:

  • Searches in linked library systems and referenced models that are not in a masked system

  • Does not search inside:

    • Masked systems, including those that are in linked library systems or referenced models

    • Linked library systems or model referenced models, if the system or model is in a masked system

Search Criteria

To specify the criteria that objects must meet to satisfy your search request, use the Search criteria panel.


To search for an object whose name matches a specified text string, use the Basic panel. Enter search text in the Find what edit box. To reuse previous search text, select the appropriate search text from the dropdown list.

To include dialog parameters in the search, select Search block dialog parameters.


To specify a set of as many as seven properties that an object must have to satisfy your search request, use the Advanced panel.

To specify a property, enter its name in one of the cells in the Property column or select the property from the property list of a cell. To display the property list, select the down arrow button next to the cell. Next enter the value of the property in the Value column. When you enter a property name, the Finder checks the check box next to the property name in the Select column. This indicates that the property is to be included in the search. To exclude the property, clear the check box.

Match case

Select this option if you want the Finder to consider case when matching search text against the value of an object property.

Other match options

Next to the Match case option is a dropdown list that specifies other match options.

  • Matches search string

    Specifies a match if the property value and the search text are identical except possibly for case.

  • Contains search string

    Specifies a match if a property value includes the search text.

  • Regular expression

    Specifies that the search text should be treated as a regular expression when matched against property values. The following characters have special meanings when they appear in a regular expression.


    Matches start of string.


    Matches end of string.


    Matches any character.


    Escape character. Causes the next character to have its ordinary meaning. For example, the regular expression \.. matches .a and .2 and any other two-character string that begins with a period.


    Matches zero or more instances of the preceding character. For example, ba* matches b, ba, baa, and so on.


    Matches one or more instances of the preceding character. For example, ba+ matches ba, baa, etc.


    Indicates a set of characters that can match the current character. A hyphen can be used to indicate a range of characters. For example, [a-zA-Z0-9_]+ matches foo_bar1 but not foo$bar. A ^ indicates a match when the current character is not one of the following characters. For example, [^0-9] matches any character that is not a digit.


    Matches a word character (same as [a-z_A-Z0-9]).


    Matches a nonword character (same as [^a-z_A-Z0-9]).


    Matches a digit (same as [0-9]).


    Matches a nondigit (same as [^0-9]).


    Matches white space (same as [ \t\r\n\f]).


    Matches nonwhite space (same as [^ \t\r\n\f]).


    Matches WORD where WORD is any string of word characters surrounded by white space.

Was this topic helpful?