my understanding is that this is for Simulink only ? Not sure how to integrate it with Matlab. There is otherwise Matlab's
As mentioned elsewhere, there is Udp stuff on Bela that is easy to use:
- create a C++ Bela project
- #include <UdpClient.h>
- 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
There is also an interactive command-line utility in
Bela/resources/network that can be used for testing:
gcc udp-client.c -o udp-client
./udp-client localhost 9000
I tried briefly to get it to work with Matlab, and I failed, however, but I blame it on Matlab and not on the udp-client utility, as I also failed when sending from Pd.