Update vector element Simulink

Hi! I'm using Simulink and Arduino in order to acquire analog signals. I have to elaborate them in real-time, so I have to compute a 125x1 vector that at each sample time has to be refreshed. The problem is that using the Matlab function block I have as output a matrix with a number of rows equal to the time duration divided by the fundamental sample time and 125 columns, i.e. it computes a new vector for each sample. How can I do in order to have as output only a 125x1? Thank you in advance!

Risposte (0)

Questa domanda è chiusa.

Richiesto:

il 22 Nov 2017

Chiuso:

il 20 Ago 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by