About the delay of the system by raising the sampling rate in Simulink

4 views (last 30 days)
I'm trying to play sound by using simulink. The problems would occur when I try to set the sample rate as 50kHz. The Problem is that the system would be too late. For example, I set the simulate time as 3 secounds but the system took 10 secounds or more. I'm using 'Sine Wave' block and 'Audio Device Writer' block to play sine wave. I have no ideas the reason why this problem ocuur. In future, I wanna try to get a accceleration sensor's data from NI USB6212 by using 'Analog Input' block while playing sound in Simulink.

Answers (0)

Categories

Find more on Audio I/O and Waveform Generation in Help Center and File Exchange

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!