MATLAB: Audiocapture objects error after connected to Raspberry Pi

alsaaudiocode generationraspberry pi

Hi all, I am very new to using Matlab to interface with Raspberry Pi and I am trying to use its audio platform.
I have installed Matlab coder and the hardware supporting package.
But I am getting this error when I tried to run audiocapture:
audiocapture and audioplayer are supported only for code generation
I am runinng on Macbook and xcode is updated too.
Where should I look into for this problem? Any help is appreciated

Best Answer

  • SOLVED:
    audiocapture is not a standalone function in Matlab. It has to be wrapped in a function and deployed by Matlab on the hardware
  • Related Question