Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
11 years ago

Sample rate problem with Output Block of DSP Builder

Hello <br>

<br>

I have a sample rate problem with the Input or Output Block (sInOut S-function block) when I try to simulate my model in Matlab.<br>

<br>

After this kind of block, it is always convert the sample rate of my signal to 1 second. <br>

<br>

Here an example of my problem :<br>

<br>

Here a part of my model, a put two scope : scope2 with an audio signal and scope1 with the signal after the Output Block.<br>

<br>

<img src="http://www.alteraforum.com/forum/attachment.php?attachmentid=9844&amp;stc=1" border="0" alt=""><br>

An image of the Scope 2 with the Audio signal :<br>

<br>

<img src="http://www.alteraforum.com/forum/attachment.php?attachmentid=9845&amp;stc=1" border="0" alt=""><br>

<br>

An image of the Scope 1 whith the signal after the Output Block.<br>

<img src="http://www.alteraforum.com/forum/attachment.php?attachmentid=9846&amp;stc=1" border="0" alt=""><br>

<br>

As you can see, the sample rate was shrink to 1 second so I miss all the details of my signal. <br>

<br>

How can I fix it ?<br>

<br>

Thanks a lot for your help, I've working for hours on this problem. <br>

<br>

I send you my entire project attached to this post.<br>

<br>

Yann
No RepliesBe the first to reply