I assume you are referring to the Multiport Switch. You need to drive the control input with a signal that varies between 1 and 3. If it is 1, it will pass through the first input, if it is 2, the second input, etc... Depending on what it is you're trying to do, you can probably use a Repeating Sequence or a Repeating Sequence Stair block for that purpose.
HTH,
Arnaud