always84
Member level 1

Hello, my question should be simple. I wrote a matlab function which i´m using in a User-Defined simulink block. In this block i want to record the output in a vector, so i declare this vector has an emptys one (like a = []
and than at every iteration i want to put the output in this vector. I alsoknow the final dimension of the vector, but esentially the problem si that at the step 1 i want to put the output in the first position of the vector, than in the step 2 i wanto to put the output in the second one and so on. at the and i want to read my vector in the output of the simulink block.
Thank you, for helping me
Thank you, for helping me