Change signal grouping hierarchy in Inspect pane
Simulink.sdi.setTableGrouping removes grouping for signals in
the Simulation Data Inspector.
groups signals in the Simulation Data Inspector according to one or more specified
options. Signal grouping is the same on the Inspect and
Compare panes. You can group signals by any combination of
domain, physical system hierarchy, data hierarchy, and model hierarchy.
Group Data by Model Hierarchy Then by Data Hierarchy
To help organize and find signals in the Simulation Data Inspector, you can group the signals. For example, you could group signals according to their location within a model hierarchy and then by data hierarchy.
group — Signal grouping
Signal grouping, specified as one or more of these values:
Domain— Group signals by domain.
DataHierarchy— Group signals according to data hierarchy, such as the hierarchy for a bus.
SubSystems— Group signals according to their location within the model hierarchy.
PhysmodHierarchy— Group signals according to the Simscape™ hierarchy. This option is only available when you have a Simscape license.
You can specify up to three grouping options unless you have a Simscape license, in which case you can specify up to four.
By default, the Simulation Data Inspector groups signals by domain, then by physical system hierarchy (if you have a Simscape license), and then by data hierarchy.