title: Demux simulink (select which block gets input)
body: <p>I am looking for a block that works as a digital de-muliplexer. I have one input signal and one selector input that determines which line the input gets passed through to.</p>
  
  <p><img src="https://i.stack.imgur.com/AmB7f.png" alt="From wikipedia"></p>
  
  <p>I have looked at the demux block in simulink but it does not seem to do this:</p>
  
  <p>"Demux</p>
  
  <p>Split vector signals into scalars or smaller vectors."</p>
  
  <p>I have also looked at "Output Switch" but this only seems to take queues as input.</p>