Receive udp packet in simulink

1 次查看(过去 30 天)
ander
ander 2014-12-10
Good morning for everyone. I have a problem with simulink and c++ aplication. I send UDP packets (structure with int variables) from the c++ application to the simulink. I receive the packet and then I use an unpack(int32 unpacking) packet to descompose it. The problem is that if I send the number 5 I want to get the number 5 but I get different values (I think it is similar to bits but I don`t know).
Thank you for all.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Messages 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by