How to store any simulink signal data in a 2 dimensional array?
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
It is possible to sum the signal data cumulatively because the addition blocks support a recursive addtion, i.e. one can add last cumulatively summed result multiplied with a unit delay to the current signal data. But the same recursive loop is not possible if one tries to use mux to create the 2 dimensional vector. Even with a matlab function block simulink throws error of dimesion mismatch, when one tries to store the data iteratively using similar unit delay block. Tried buffer, does not work! Storing data to a memoy block needs declaration of signals beforehand that we want to store any array Is there any standard procedure? Please help, it is urgent and stuck for so long. Thanks in advance.
2 comentarios
stozaki
el 15 de Oct. de 2020
Hello Sunandan,
Do you want to cumulatively add vector signals? Modeling like attachments does not cause any errors. Is this model effective for you? If you will use this model I will be able to attach a .slx file.
stozaki
Respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!