Skip to Main Content Skip to Search
Product Documentation

The Finder

Find Model Objects

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

  1. Open the Finder. In the Simulink Model 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:

Search Criteria

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

Basic

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.

Advanced

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.

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS