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!