in reply to Sending UDP Packets to MATLAB

I tried to match up your 10 values with the 9 formats of your spec into a table and got this result (you have 10 data values and only 9 format specs):
Data Type 2.2 Boolean 4 int8 6 unit8 7.43 int16 23.34 uint16 11 int32 45576 unit32 343 float 22 double 10 ????
That table as per your post does not make sense to me.
int8, uint8, int16, uint16, int32, uint32 are clear. How big is Boolean, one byte? Is float 32 bits? is double 64 bits?

Please re-do the above table and show exactly what you need.  2.2    Boolean makes no sense to me. Neither does 7.43   int16 You will wind up with a buffer of bytes that can be sent via UDP, but the format spec must be exact and I mean to the exact bit! I presume that "unit8" means "uint8" or unsigned integer 8 bits. If you are RadioEngineer, get the terminology straight! There is a difference between ohms and volts. Same thing here.

Update: Please do not delete stuff from your post. You can use the <strike> and </strike> tags to strike-thorough content. The problem is that when folks read your post later, some answers may not make sense or there is other confusion when things magically "disappear". If you choose to update your original post with the table that I requested, I would do so with an "Edit" and "update" comment just like this. That will raise the visibility of the update rather than a reply just to me. In this particular case, I think that would be better. There are folks here literately "chomping at the bit" to help you, but your question is not a good one. If you improve the question, you will get better answers.