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...

Réponses (2)

TAB
TAB le 17 Déc 2012
Modifié(e) : TAB le 17 Déc 2012

0 votes

You can implement same behavior as Taped Delay block using number of *Unit delay blocks in series.
See the snap here
Kevin
Kevin le 17 Déc 2012
Modifié(e) : Kevin le 17 Déc 2012

0 votes

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 commentaire

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?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Simulink dans Centre d'aide et File Exchange

Question posée :

le 17 Déc 2012

Community Treasure Hunt

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

Start Hunting!

Translated by