we can make no latency guarantees in this case because you are going through non-realtime paths (i.e.: the network connection itself and your computer). However, you may still give this a try and see if i works for you. Assuming that MATLAB allows you to receive data in real-time over a UDP socket, then it would be very easy:
- create a C++ Bela project
- use the
UdpClient class, see documentation.
You can do this over the USB-network connection, however the gigabit ethernet port on the BeagleBone is most likely going to be more performant if you require a larger bandwidth