Main Content

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.