Main Content

Filter Hierarchical List of Signals and Parameters in Simulink Real-Time Explorer

In Simulink® Real-Time™ Explorer, the default view of the signal and parameter lists shows the signals and parameters only at the hierarchy level that you selected. You can display signals and parameters for the current level and below and filter the display to show only the items that you are interested in.

Hierarchical Display

To show signals and parameters from the current level and below, navigate to the hierarchical level that you are interested in. Click Contents of ( on the toolbar).

The figure shows the contents of the top level of the slrt_ex_sf_car real-time application. To open this example model, in the MATLAB Command Window, type:

openExample('slrealtime/SlrtCreateUpdateInstPanelForStateflowCarExample');
open_system('slrt_ex_sf_car');

You can view the slrt_ex_sf_car model hierarchy in the Simulink Real-Time Explorer.

Filtered Display

To restrict the display to signals or parameters with a particular characteristic, use the Filter text box. You can restrict the scope of the filtered display by selecting a level of the application in the Application Tree panel.

Simulink Real-Time Explorer supports filtering by values in these columns:

  • Signals — Block Path and Signal Name

  • Parameters — Block Path and Name

For example, to restrict the display of signals and parameters to the shift_logic subsystem, select column Signal Name. Type shift_logic into the Filter text box.

You can view the slrt_ex_sf_car model hierarchy in the Simulink Real-Time Explorer.

Sorted Display

To group signals and parameters by columns, select the column head, hover the cursor near the right border of the column head (displays the Sort by icon), and click the Sort by icon.

Explorer supports grouping by the following columns:

  • Signals — Block Path and Signal Name

  • Parameters — Block Path, Name, Value, Type, and Size

For example, to sort signals by name, right-click the Signal Name column and select the Sort by icon.

You can view the slrt_ex_sf_car model hierarchy in the Simulink Real-Time Explorer.