This example shows how the Delay block supports variable-size signals for sample-based processing. The Switch block controls whether the input signal to the enabled subsystem is a 3-by-3 or 3-by-2 matrix.
The Delay block appears inside the enabled subsystem.
The model follows these rules for variable-size signals while using sample-based processing.
Signal dimensions change only during state reset when the block is enabled.
Initial condition must be scalar.
The rules are implemented by these blocks.
Enable block sets Propagate sizes of variable-size signals to
Only when enabling.
Delay block sets the Initial condition to the scalar value