How to convert aTapped Delay block for TargetLink?

Hey guys,
I'd like to convert a "tapped delay block" from Simulink to TargetLink. However, this kind of block isn't supported by TargetLink. So my first approach was to create a s-function that implements the functionality of such a delay. That works fine, as long as I don't prepare the system for a TargetLink application. Then the output signal is completely different. That's why, in my opinion, the second approach would be to use existing simulink blocks in order to emulate a tapped delay. I'm afraid I'm not able to get that done. Somehow, a loop is needed to delay the input signal. Considering the fact that only unit delays and no integer delays are supported I'm really stuck right now.
Hope you've got an idea on that issue...

Respuestas (2)

TAB
TAB el 17 de Dic. de 2012
Editada: TAB el 17 de Dic. de 2012

0 votos

You can implement same behavior as Taped Delay block using number of *Unit delay blocks in series.
See the snap here
Kevin
Kevin el 17 de Dic. de 2012
Editada: Kevin el 17 de Dic. de 2012

0 votos

thanks for that hint. The only problem is that I need 700 single unit delays - to paste them manually is the issue I'm trying to avoid...

1 comentario

Kevin: In that case, going with your original approach of writing an S-function seems like the correct solution. Can you elaborate on how it doesn't work? Have you written a TLC file for your S-function?

Iniciar sesión para comentar.

Categorías

Más información sobre Simulink en Centro de ayuda y File Exchange.

Preguntada:

el 17 de Dic. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by