Simulink Serial-In Parallell-Out Shift Register with reset capability
1 次查看(过去 30 天)
显示 更早的评论
I need to use a Serial-In Parallell-Out Shift Register in Simulink to retain a certain number of samples of a generated signal. I also need to be able to reset all the shift register when requested.
I have found the "Serial-In Paralell-Out Shift Register", the "Tapped Delay" and the "Discrete Shift Register" blocks, which almost perform the functionality I need, but they don't have the ability to reset the whole register when needed.
On the other hand, there is the "Resettable Delay" block, which allows a variable delay length and a external reset, but there is no possibility to access all the memorized values at one time. What I need could be done by using multiples "Resettable Delay" blocks but this is a pretty bad solution since I need a large size shift register.
I also tried to make a workaround with a Matlab function, but compiling fails because of the underdefined signal sizes (I keep trying with this option).
Is there any block or workaround to do it in simulink?
Thank you very much in advance,
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!