FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
All support for Intel NUC 7 - 13 systems has transitioned to ASUS. Read latest update.
6323 Discussions

Sample rate problem with Output Block of DSP Builder

Honored Contributor II



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. 


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


Here an example of my problem : 


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



An image of the Scope 2 with the Audio signal : 




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



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


How can I fix it ? 


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


I send you my entire project attached to this post. 


0 Kudos
0 Replies