Simulink tapped delay block with vector inputs
Ältere Kommentare anzeigen
All,
I have often needed a "shift-register" function in Simulink that can accept vector inputs. The tapped delay only supports scalar inputs. I typically build this function using the "Matlab Function" block.
How do other people solve this problem? Is there a built-in solution I am not aware of?
Maybe someone from MathWorks is reading these questions? It is a pretty big gap that there is no built-in way to build a shift register with vectors.
Thanks.
Akzeptierte Antwort
Weitere Antworten (1)
praguna manvi
am 17 Mär. 2025
0 Stimmen
The "Tapped Delay" block natively accepts only scalar inputs. A workaround to pass vector inputs is to use a "Buffer" block, setting the "Overlap" property to one less than the buffer size. Here is a useful discussion thread on a similar use case:
For more information on the "Buffer" block, refer to the following link:
1 Kommentar
Sean
am 17 Mär. 2025
Kategorien
Mehr zu Measurements and Statistics finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!