Explore Models, Stateflows, and Workspace Variables in Simulink

As AI becomes increasingly pervasive, it’s crucial that researchers and developers have clear insight into how the models they build operate. With its hierarchical approach to visualization and capacity to handle complex Explore models, Model Explorer enables users to peer inside the most intricate neural networks. By demystifying the inner workings of these models, it can help them spot potential biases or errors, and ensure responsible deployment.

The Model Explorer is a tool for searching, editing, and browsing Simulink(r) models, Stateflow(r), and Workspace Variables(r). The graphical interface lets you search for specific elements in models or charts, such as blocks, signals, properties, and states, or combinations of these.

You can also find and edit the values of the variables that are stored in a Model Explorer Data Dictionary. For example, you can modify the values of the n-D Lookup table block nd_lookup_table and see the changes in your model immediately.

Model Explorer displays the state diagram of your current system in the Stateflow tab. You can select and expand the nodes that represent the various substates to see the transitions and state values for each of them. The arrows in the right sidebar indicate which state the current node represents. You can also select the node icon and click Show Details to display a table of object property information for that node. The contents of the table vary depending on the category of the selected node in the Model Hierarchy pane and the View setting that is currently applied to the Model Explorer.

For example, if you select the node of the Fault-Tolerant Fuel Control System example model sldemo_fuelsys, the Contents tab displays an object property table for the system in which it is embedded. The first two columns (object name and block type) are persistently visible no matter how far you scroll the page, while other columns appear or disappear as you move between tabs. Similarly, the Model Explorer automatically applies the view that is associated with the category of the selected node in the model hierarchy, and the last view used for that node in the Contents tab.

You can also apply a different View to the Model Explorer by selecting it from the View menu. The resulting dialog box provides options for importing views from MAT-files, and it includes a list of available View settings. By default, the new View matches the settings of the selected node in the Model Hierarchy or Search pane, and the current view in the Contents tab.

In the Case Information Display, you can change options for the Model Explorer by clicking a button in the Tools Ribbon Tab or Case Information Toolbar by default. Typically, only one instance of the Model Explorer is open at a time. However, if you click the Model Explorer button multiple times on the Ribbon or Toolbar, you can create additional Model Explorer instances.