| Using Simulink | ![]() |
Search Bar
The Model Explorer's search bar allows you to select, configure, and initiate searches of the object selected in the Model Hierarchy pane. It appears at the top of the Model Explorer window.
To show or hide the search bar, check or uncheck Search Bar in the Model Explorer's View menu.
The search bar includes the following controls:
Search Type
Specifies the type of search to be performed. Options include:
Search for objects whose property matches a specified value. Selecting this search type causes the search bar to display controls that allow you to specify the name of the property, the value to be matched, and the type of match (equals, less than, greater than, etc.).
Search for objects that have a specified property. Selecting this search type causes the search bar to display a control that allows you to specify the target property's name by selecting from a list of properties that objects in the search domain can have.
Search for blocks of a specified block type. Selecting this search type causes the search bar to display a block type list control that allows you to select the target block type from the types contained by the currently selected model.
Search Options
Specifies options that apply to the current search. The options include:
Causes the next search operation to search for objects that meet both the original and new search criteria (see Refining a Search).
Search Button
Initiates the search specified by the current settings of the search bar on the object selected in the Model Explorer's Model Hierarchy pane. The Model Explorer displays the results of the search in the tabbed Search Results pane.
You can edit the results displayed in the Search Results pane. For example, to change all objects found by a search to have the same property value, select the objects in the Search Results pane and change one of them to have the new property value.
Refining a Search
To refine the previous search, check the Refine Search option on the search bar's Search Options menu. A Refine button replaces the Search button on the search bar. Use the search bar to define new search criteria and then click the Refine button. The Model Explorer searches for objects that match the previous search criteria and the new criteria.
| Main Toolbar | The Finder | ![]() |
© 1994-2005 The MathWorks, Inc.