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.

Multimode Variable-Size Signal

This model shows how to use different operation modes to correspond to different signal sizes

About This Example

Open the example model sldemo_varsize_multimode. The processing subsystem in this model receives a variable-size signal where the size of the signal depends on the operation mode of the system. For each mode change, the Mode Control Logic Stateflow® Chart generates a function-call to reset the blocks contained in the Process subsystem.