I did search:
"If you have devices that present themselves as serial ports on your operating system, you can use them as virtual USB serial ports in MATLAB. Examples of such devices would be Bluetooth® devices and USB Serial Dongles.
MATLAB can communicate with these devices as long as the serial drivers provided by the device vendor are able to emulate the native hardware. Certain software, like HyperTerminal, does not require the device driver to fully implement and support the native hardware. "
now my question is: if you install the driver of Khadas Tone board on your computer, does Khadas present itself as a serial port on your operating system?
and this way:
Does Khadas Tone board use the DirectSound driver? if so I can use this solution.
MATLAB and Data Acquisition Toolbox support Windows® compatible sound cards that use the DirectSound driver. Use MATLAB as your single software environment to create your own waveforms, measurement and analysis routines, and to develop automated applications that use sound card data.
Use MATLAB to perform the following tasks on Windows sound cards:
- Acquire data from multiple audio input channels
- Generate audio data for multiple audio output channels
- Configure the sound card sampling rate and other settings
- Analyze sound card data as it is being acquired
- Trigger the start of your data acquisition
- Easily switch sound cards with minimal changes to MATLAB code
plus there is another way: but I don’t know it works with the Khadas Tone board.