This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Variable-Size Signal Length Adaptation

This model shows a hypothetical system where the length of a signal changes over time by adapting to the changes of a control signal.

About This Example

Open the example model sldemo_varsize_dataLengthAdapt.

This model consists of two sections: the left section generates a signal and converts the signal to variable size; the right section processes the variable-size signal and outputs it to a scope. Length adaptation is based on the value of the control signal. When the control signal falls within one of the three predefined ranges, the size of the data signal changes accordingly.

This variable-size signal is then fed into a processing block, where blocks supportive of variable-size signals, operate on it. Note the application of a MATLAB Function block with both the input and the output signals of variable-size. The resulting signal, as well as the signal width, are fed to a scope for visualization.

Was this topic helpful?