Switch

The Switch Transform accepts numeric inputs from two or more ports and transmits the data from the selected inport to the outport. The value on the Sel port determines which Inport is passed through to Out. If Sel = 0, In1 is selected; if Sel=1, In2 is selected, etc.  Use the Verbs at the bottom of its Properties box to add or remove InPorts.

All the ports (except Sel) should be the same sub-classification (floating point, fixed point, or discrete). To change a port's properties, right-click on the port and select Edit Port. Be sure to select the port, not the Transform. Use the dialog to change the port's name or properties. Arrays are not supported.

 

Related Topics:

Editing Ports

Signal Classification

Signal Processing Transforms