Variable Length Windows Real-Time Target UDP Receive Block

I would like to receive variable length UDP packets in a Windows Real-Time Target environment. The packets would be bounded in size of course. Is this possible?

Answers (1)

Hi Arne,
That should be possible in my opinion. I would define the maximum expected size in your UDP receive block, and then discard any elements that do not contain any meaningful data.
Best,
Dimitri

Asked:

on 25 Aug 2014

Answered:

on 18 Nov 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!