I need to set up a UDP reader in Matlab that receives data from a number of sources. I typically use this for a single data source:
[packet,~,~,senderaddress]=fread(s,s.BytesAvailable)
The problems are that I want to avoid waiting for the timeout, I don't have terminated data arriving, and packets are of unknown sizes. Has anyone else had this problem? Thanks