Matlab support for Raspberry Pi pitch shift example error

I sucessfully installed and configured the package for Pi 4 and I was able to run the example without problems yesterday.
After I installed Simulink support as well today and tried to rerun the example code, Pi was returning this error:
Capture overrun: errno = -32 (Broken pipe)
I can still hear the audio from the speaker except it is distorted and discontinous.
I thought this issue is caused by the hardware so I ran arecord and aplay to test and both commands worked fine.
How should I go about this problem? Thank you in advance

回答(1 个)

If you were able to run it once then debugging might help. You can try the following:
  • clearing your workspace
  • rebooting Raspberry Pi
  • restarting MATLAB

类别

帮助中心File Exchange 中查找有关 MATLAB Support Package for Raspberry Pi Hardware 的更多信息

产品

版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by