Trenera
Trenera

Reputation: 1505

Simulink - Data Store to a vector in a loop

I would like to store the output of a block (real number - e.g. 2.8), to a vector. The vector has a size 6x1. The 1st output should be recorded at position 1, the 2nd output to position 2 and etc. The 7th, however, should be recorded to position 1, the 8th to position 2 and etc.

Upvotes: 0

Views: 1335

Answers (1)

Trenera
Trenera

Reputation: 1505

The solution is to place a Buffer after the output and set it's size to 6

enter image description here

Upvotes: 1

Related Questions