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

답변 (2개)

TAB
TAB 2012년 12월 17일
편집: TAB 2012년 12월 17일

0 개 추천

You can implement same behavior as Taped Delay block using number of *Unit delay blocks in series.
See the snap here
Kevin
Kevin 2012년 12월 17일
편집: Kevin 2012년 12월 17일

0 개 추천

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

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?

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

질문:

2012년 12월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by