Using Simulink    

Searching for Objects

To find a block, signal, state, or other object in a model, select Find from Simulink's Edit menu. Simulink displays the Find dialog box.

To find an object with the Find dialog box, first use the Filter options (see Filter Options) and Search criteria (see Search Criteria) panels to specify the characteristics of the object you want to find. Next, if you have more than one system or subystem open, select the system or subsystem where you want the search to begin from the Start in system list. Finally, select the Find button. Simulink searches the selected system for objects that meet the criteria you have specified. Any objects that satisfy the criteria appear in the results panel at the bottom of the Find dialog box.

You can display an object by double-clicking 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, click any of the buttons at the top of each column. For example, to sort the results by object type, click the Type button. Clicking a button once sorts the list in ascending order, clicking it twice sorts it in descending order. To display an object's parameters or properties, select the object in the list. Then press the right mouse button and select Parameter or Properties from the resulting context menu.

Filter Options

The Filter options panel allows you to specify what kinds of objects to look for and where to search for them.

Object type list.   The object type list lists the types of objects that the Simulink can find. By unchecking a type, you can exclude it from the Finder's search.

Look inside masked subsystem.   Checking this option causes Simulink to look for objects inside of masked subsystems.

Look inside linked systems.   Checking this option causes Simulink to look for objects inside subsystems linked to libraries.

Search Criteria

The Search criteria panel allows you to specify the criteria that objects must meet to satisfy your search request.

Basic.   The Basic panel allows you to search for objects whose name and, optionally, dialog parameters match a specified text string. Enter the search text in the panel's Find what field. To display previous search text, select the dropdown list button next to the Find what field. To reenter text, click it in the dropdown list. Check Search block dialog parameters if you want dialog parameters to be included in the search.

Advanced.   The Advanced panel allows you to specify a set of as many as seven properties that an object must have to satisfy your search request.

To specify a property, type its name in one of the cells in the Property column of the Advanced pane or select the property from the cell's property list. To display the list, select the down arrow button next to the cell. Next enter the value of the property in the Value column next to the property name. 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. If you want to exclude the property, uncheck the check box.

Match case.   Check this option if you want Simulink 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 list that specifies other match options that you can select.


 Searching and Browsing Models The Model Browser