Skip to Main Content Skip to Search
Product Documentation

The Model Explorer: Overview

Introduction to the Model Explorer

Use the Model Explorer to quickly view, modify, and add elements of Simulink models, Stateflow charts, and workspace variables. The Model Explorer provides several ways for you to focus on specific elements (for example, blocks, signals, and properties) without your having to navigate through the model diagram or chart.

Opening the Model Explorer

To open the Model Explorer, use one of these approaches:

Model Explorer Components

By default, the Model Explorer opens with three panes (Model Hierarchy, Contents, and Dialog), a main toolbar, and a search bar.

ComponentPurposeDocumentation
Main toolbarExecute Model Explorer commandsThe Main Toolbar
Search barPerform a search within the context of the selected node in Model Hierarchy pane.The Model Explorer: Search Bar
Model Hierarchy paneNavigate and explore model, chart, and workspace nodesThe Model Explorer: Model Hierarchy Pane
Contents paneDisplay and modify model or chart objectsThe Model Explorer: Contents Pane
Dialog paneView and change the details of object propertiesThe Model Explorer: Dialog Pane

The Main Toolbar

The main toolbar at the top of the Model Explorer provides buttons you click to perform Model Explorer operations. Most of the toolbar buttons perform actions that you can also perform using Model Explorer menu items.

The toolbar buttons in the following table perform actions that you cannot perform using Model Explorer menus:

ButtonUsage

Bring the MATLAB desktop to the front.

Display the Simulink Library Browser.

If you have Simulink Verification and Validation installed, you can use additional toolbar buttons relating to requirements links.

Adding Objects

You can use the Model Explorer to add many kinds of objects to a model, chart, or workspace. The types of objects that you can add depend on what node you select in the Model Hierarchy pane. Use toolbar buttons or the Add menu to add objects. The Add menu lists the kinds of objects you can add.

Customizing the Model Explorer Interface

You can customize the Model Explorer interface in several ways. This section describes how to show or hide the main toolbar and how to control the font size.

Other ways you can customize the Model Explorer interface include:

Showing and Hiding the Main Toolbar

To show or hide the main toolbar, in the Model Explorer select View > Toolbars > Main Toolbar.

Controlling the Font Size

You can change the font size in the Model Explorer panes:

Basic Steps for Using the Model Explorer

Use the Model Explorer to perform a wide range of activities relating to viewing and changing model and chart elements. You can perform activities in any order, using panes in the order you choose. Your actions in one pane often affect other panes.

For example, if you want to edit properties of objects in a model, you might use a general workflow such as:

  1. Open a model.

  2. Open the Model Explorer.

  3. Select the model in the Model Hierarchy pane.

  4. Control what model information the Contents pane displays, and how it displays that information, by using a combination of:

    • The View > Column View option to control which property columns to display

    • The View > Row Filter option to control which types of objects to display

    • Techniques to directly manipulate column headings

  5. Identify model elements with specific values, using the search bar.

  6. Edit the values for model elements, in either the Contents pane or the Dialog pane.

Focusing on Specific Elements of a Model or Chart

As you explore a model or chart, you might want to narrow the contents that you see in the Model Explorer to particular elements of a model or chart. You can use several different techniques. The following table summarizes techniques for controlling what content the Model Explorer displays and how the contents appear.

TechniqueWhen to UseDocumentation

Use the Row Filter option

To focus on, or hide, a specific kind of a model object, such as signals

Using the Row Filter Option

Search

To find objects that might not be currently displayed

The Model Explorer: Search Bar

Filter contents

To focus on specific objects in the Contents pane, based on a search string

Filtering Contents

Once you have the general set of data that you are interested in, you can use the following techniques to organize the display of contents.

TechniqueWhen to UseDocumentation

Sort

To quickly organize data for a property in ascending or descending order

Sorting Column Contents

Group by property column

To logically group data based on values for a property

How to Group by a Property Column

Use column views

To display a named subset of property columns to apply to different kinds of nodes in the Model Hierarchy pane

The Model Explorer: Controlling Contents Using Views

Add, delete, or rearrange property table columns

To customize property columns

The Model Explorer: Organizing How Data Displays

  


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