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!