MATLAB: Isn’t there a command to capture Raspberry Pi external soundcard data except for Simulink

external soundcardraspberry pi

I have raspberry pi set up with Matlab and connected. Raspi is connected to an external soundcard: hw:1,0
Here's where I am:
devices = listAudioDevices(raspi,'capture')
How to capture the soundcard’s microphone which is device(1) in this case without using simulink?

Best Answer

I've looked everywhere, there isn't even a command to capture Raspberry Pi external soundcard’s microphone data except for using Simulink. The link below only provides the code to list all the audio devices, fs, etc, then send all the responsibility to Simulink, which means the Matlab hardware support package is incomplete. It's like selling a product without instruction.