You can modify the layout and content of the panels in the Simulation Data Inspector to help you organize your data. You can set new run naming rules, change how runs are grouped in the navigation pane, and use filters to find the signal you want to inspect.
You can choose which panes are displayed in the Simulation Data Inspector. Click the gear icon on the side menu of the Simulation Data Inspector. Then, select the Layout tab. You can choose to hide or display the navigation and properties panes. When you hide the navigation pane, the properties pane is automatically hidden. The Restore Defaults option at the bottom of the pane restores the settings of the panel to the default configuration.
You can customize the hierarchy of your data in the Inspect pane. The data is grouped first by run name, which cannot be modified. You can then group your data by data or model hierarchy. Changes to signal grouping apply only to the Inspect pane. If you have a Simscape™ license, you can also group your data by physical system data hierarchy.
As an example, change the grouping in the Inspect pane to group by run name, then by model hierarchy, and then by data hierarchy.
Click the Preferences button in the upper right of the Inspect pane.
In the Group pane, select
Hierarchy in the first Then By list.
In the second Then By list, select
The Inspect pane groups the signals by run name, then by model hierarchy, and then by data hierarchy.
To remove the hierarchy and display a simple list of signals, select
None from both Then By lists on the
You can also specify whether to add new runs in the Inspect pane to the top or bottom of the runs list. The New Run tab in the Preferences window allows you to configure how new runs are added to the Inspect pane. The default configuration adds new runs to the bottom of the runs list.
You can specify how existing and future runs are named in the Simulation Data Inspector.
To rename an existing run double-click the run row, type the new run name, and press Enter. Alternatively, you can select the run you want to rename and type the new name into the Name row of the properties pane.
To specify how you would like the Simulation Data Inspector to name future runs, open
the New Run tab on the Preferences
menu. The default value for the New run naming
Run <run_index>: <model_name>.
To change the run naming rule, enter your desired options from the list of available
parameters along with any other regular characters. For example, to include the simulation
mode in subsequent run names, enter
Run <run_index>: <model_name>:
<sim_mode> in the New run naming rule box. With this
rule, simulating model
mode, the name of the first run appears as
Run 1: slexAircraftExample:
You can filter runs and signals displayed in the Inspect and Compare panes to help search through large amounts of data in the Simulation Data Inspector. You can filter the data by text contained in the run or signal names and properties.
To show only signals named
alpha, rad, type
into the filter signals text box. Matches for the search criteria are highlighted in the
filter results displayed in the pane. The filter dialog box suggests completions for the
text typed into the search query.
To filter for a signal or run property, use colons to separate the property name and
filter value. For example,
port:1 filters for signals that use port 1 in
the model. Because the property column is not visible in the Inspect
pane, the result is not highlighted.
You can also construct more complicated filter queries that include multiple properties using the Advanced section of the filter dialog box.
Open the Advanced section of the filter dialog box.
Select a column to add to the filter, and enter the value.
Filters work by matching text. For example, an absolute tolerance filter for a
00.1 does not return signals with an absolute tolerance
For convenience, you can save filter configurations. To save the filter, enter a name in the Save Search As box and click Save on the filter dialog box. Saved filters show as options in the filter list.