Main Content

Buses with the Delay Block for Frame-Based Processing

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

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

The model follows these rules for buses:

  • 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 Initial condition to a scalar value of 0.

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