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.
The problem is I ask you kindly, how 'k' output array can be sent one by one sequentially. Thanks in advance