Documentation

Simulink.sdi.setTableGrouping

Change signal grouping hierarchy in Inspect pane

Syntax

Simulink.sdi.setTableGrouping
Simulink.sdi.setTableGrouping('group1')
Simulink.sdi.setTableGrouping('group1', 'group2')
Simulink.sdi.setTableGrouping('group1', 'group2', 'group3')

Description

Simulink.sdi.setTableGrouping groups signals in the Inspect pane of the Simulation Data Inspector as a flat list.

Simulink.sdi.setTableGrouping('group1') groups signals in the Inspect pane by the parameter specified by group1.

example

Simulink.sdi.setTableGrouping('group1', 'group2') groups signals in the Inspect pane first by the parameter specified by group1 and then by the parameter specified by group2.

Simulink.sdi.setTableGrouping('group1', 'group2', 'group3') groups signals in the Inspect pane first by the parameter specified by group1, then by the parameter specified by group2, and finally by the parameter specified by group3. If you have a Simscape™ license, you have three options for table grouping.

Examples

collapse all

You can group your data in the navigation pane to visualize subsystem and data hierarchy relationships among signals clearly.

Simulink.sdi.setTableGrouping('Subsystems','DataHierarchy');

Input Arguments

collapse all

Parameter used to group signals in the Inspect pane of the Simulation Data Inspector. You can specify two grouping parameters, or three if you have a Simscape license.

  • DataHierarchy groups signals according to any data hierarchy in the model, for example grouping signals in a bus together.

  • SubSystems groups signals according to the model's subsystem hierarchy.

  • PhysmodHierarchy groups signals according to the Simscape block structure. This parameter is only available with a Simscape license.

Example: 'SubSystems'

Example: 'DataHierarchy'

Data Types: char

Introduced in R2016a

Was this topic helpful?