This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

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.