How to store any simulink signal data in a 2 dimensional array?
5 次查看(过去 30 天)
显示 更早的评论
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 个评论
stozaki
2020-10-15
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
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!