Hello everybody,
Sorry to come here with a problem to solve, but I hope you can help me with it ü
Basically I have in Simulink a loop consisting of an input that I get through blocks that I've built. This input, let's call it INPUT1 must come in a section of the model where I have to call a variable which is in fact a vector (1 column, 800 rows), use the 1st row of that vector to make calculation, so I can get a new value of INPUT1, which becomes now INPUT2.
After this I am using that INPUT2 to make other calculations, and then I have to use that INPUT2 value with the 2nd row of the famous vector I talked about before so I get an INPUT3, and so on. This is my control loop.
How can I automatically make Simulink to take one row after another in the vector ? I mean the input value changes everytime the loop is completed, so I cannot make all calculations at once with all rows of the vector.
Thanks a lot in advance !
Sorry to come here with a problem to solve, but I hope you can help me with it ü
Basically I have in Simulink a loop consisting of an input that I get through blocks that I've built. This input, let's call it INPUT1 must come in a section of the model where I have to call a variable which is in fact a vector (1 column, 800 rows), use the 1st row of that vector to make calculation, so I can get a new value of INPUT1, which becomes now INPUT2.
After this I am using that INPUT2 to make other calculations, and then I have to use that INPUT2 value with the 2nd row of the famous vector I talked about before so I get an INPUT3, and so on. This is my control loop.
How can I automatically make Simulink to take one row after another in the vector ? I mean the input value changes everytime the loop is completed, so I cannot make all calculations at once with all rows of the vector.
Thanks a lot in advance !