Main Content

Bus Signals with the Delay Block for Frame-Based Processing

This example shows how the Delay block supports bus signals for frame-based processing.

Each Constant block supplies an input signal to the Bus Creator block, which outputs a two-dimensional bus signal. After the Delay block delays the bus signal by three sample periods, the Bus Selector block separates the bus back into the two original signals.

The model follows these rules for bus signals.

  • For the initial condition, set the value on the dialog box.

  • For frame-based processing, signal dimensions of the data input port u cannot be larger than two.

The model implements the rules by:

  • Setting the Initial condition to a scalar value of 0.

  • Setting bus input to the Delay block as two dimensions.