Select signal that connects to input port
Simulink / Ports & Subsystems
Simulink / Sources
HDL Coder / Ports & Subsystems
HDL Coder / Sources
The In Bus Element block, also known as the Bus Element In block, combines the functionality of an Inport block and a Bus Selector block. This block is of the Inport block type and all In Bus Element blocks that use the same port share a Block Parameters dialog box.
You can use an In Bus Element block to select these signals associated with the port:
For a port that receives a bus, you can select a bus element by specifying a signal name or signal hierarchy in the block label.
For a port that receives a bus, you can select the entire bus by deleting the signal name in the block label. The block label displays only the port name.
For a port that receives a nonbus signal, you can select the nonbus signal by deleting the signal name in the block label. The block label displays only the port name.
To select multiple signals from a bus, create multiple In Bus Element blocks. You can create In Bus Element blocks for each selected signal in the Block Parameters dialog box by clicking the Add blocks for selected signals button.
You can load simulation input data for a group of root-level In Bus
Element blocks using a structure of timeseries, timetable, or
SimulationDatastore objects. In Bus Element blocks interpolate loaded
data for all data types except string
, enumerated
,
and fixed point
.
To change the signal associated with a bus element port block, you must edit the label next to the block by double-clicking the text. Dot notation indicates signal hierarchy within the bus. To reduce the size of the label, you can display only the signal name by selecting Compact Notation from the ellipsis menu that appears when you select the block. To show the signal hierarchy again, you can select Expanded Notation from the menu.
Data Types |
|
Direct Feedthrough |
|
Multidimensional Signals |
|
Variable-Size Signals |
|
Zero-Crossing Detection |
|