How to send a matrix info into a mosfet's gate

I'm working on a simulink design, using MATLAB function. By the benefit of the MATLAB function, I got 1x10 array of which values are like [1 0 0 1 0 0 1 0 0 0], I want these values to be sent to the MOSFET's gate sequentially. I thought it would have been done with 'For loop' to send it sequentially but I found out that's not possible since it's just sensed the latest column's value so that I just saw 0 in my scope. Any idea how to do it properly?
Below you can see the simulink design.
ff.png
The problem is I ask you kindly, how 'k' output array can be sent one by one sequentially. Thanks in advance

Communities

More Answers in the  Power Electronics Control

Asked:

on 19 Jul 2019

Answered:

on 25 Jul 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!