title: Receive UDP data from multiple sources in Matlab
body: <p>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:</p>
  
  <pre><code>[packet,~,~,senderaddress]=fread(s,s.BytesAvailable)
  </code></pre>
  
  <p>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</p>