Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Update vector element Simulink

1 vue (au cours des 30 derniers jours)
Giorgio Concu
Giorgio Concu le 22 Nov 2017
Clôturé : MATLAB Answer Bot le 20 Août 2021
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!

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by