Simulink Serial-In Parallell-Out Shift Register with reset capability

조회 수: 3 (최근 30일)
Guillermo Rubio Gomez
Guillermo Rubio Gomez 2019년 11월 12일
편집: Guillermo Rubio Gomez 2019년 11월 12일
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개)

카테고리

Help CenterFile Exchange에서 Sources에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by