Extract Vector Elements and Distribute Evenly Across Outputs

This example shows how you can use the Demux block to distribute an input signal evenly over the desired number of outputs. For an input vector of length 6, when you set the Number of outputs parameter to 3, the Demux block creates three output signals, each of size 2.

ans = 

  Simulink.SimulationOutput:
                   tout: [11x1 double] 

     SimulationMetadata: [1x1 Simulink.SimulationMetadata] 
           ErrorMessage: [0x0 char] 

See Also