MATLAB: Subsystem with x output bytes

simulinksubsystem

Hi,
I created an enabled subsystem. In this subsystem the inport and the outport are connected directly. I want to control the subsystem so that only x input bytes are passed through. How can I create such a control signal?
Thanks Senmeis

Best Answer

You can place your subsystem inside an Enabled Subsystem which is enabled only for the duration of time that 'x' samples pass through.