Convert Virtual Bus to Nonvirtual Bus
This example shows how to use the Signal Conversion block to convert a virtual bus to a nonvirtual bus.
The Bus Creator block creates a virtual bus that is input to the Signal Conversion block. To convert the virtual bus to a nonvirtual bus, the Signal Conversion block has its Output parameter set to Nonvirtual bus
and its Data type parameter set to a Simulink.Bus
object. The specified Bus
object matches the bus hierarchy of the bus from the Bus Creator block. The nonvirtual bus output from the Signal Conversion block is input to the Bus Selector block.
See Also
Signal Conversion | Bus Creator | Bus Selector