MATLAB: Creating Array in Simulink

arraysimulink

Hello,
I have an one dimensional array containing 200 specific values that they don't have constant difference.
I want to create this array in simulink so that the values go to an output one by one every 0.1 miliseconds.
Is there any suggestion about this problem?
I appreciate your help.
Thanks,
Pouriya

Best Answer

The 1-D array will be put in a constant block. ANd using an index selector and timer logic, you can select each element in the consecutive cycles. Please have a look at the attachment.
Related Question