How to restore buffer size in Simulink?
4 次查看(过去 30 天)
显示 更早的评论
I want to make a Simulink block that rebuffers an input signal (e.g. from length 16 to 128), then does some calculations, and then outputs something that has the original buffer size (so back to 16). Is it possible to get the original input size (e.g., with Width) and give it as an input to the Buffer function? Or is there another way to achieve this?
Thanks in advance!
Benjamin
4 个评论
Daniel M
2019-10-18
Well it's not clear what your calculations were supposed to be. Anyways, you can set the buffer size using a variable defined in the Matlab workspace. Other than that, I'm afraid I can't be of more help.
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!