udpip

versión 1.1.0.0 (65.9 KB) por Giampiero Campa
Simulink Blocks for UDP/IP communication

5K descargas

Actualizada 1 Apr 2009

Ver licencia

These two blocks allow exchanging data bytes via an UDP/IP connection between simulink schemes running possibly as different processes on different (windows) machines.

Differently from the TCP/IP protocol, UDP/IP is totally asyncronous and non-blocking thus allowing in general a faster communication. Additionally, the client and server can be started or stopped in any order, as opposite to the TCP/IP case, where the server must always be started before the client is started and stopped after the client is stopped.

Finally, note that you can use the "byteview" block, available under
MATLAB Central > File Exchange > Utilities > Simulink, to transform any simulink data type into bytes (aka uint8) and back.

The C code for both the sender (client) and the receiver (server) is included in the zip file.

Citar como

Giampiero Campa (2022). udpip (https://www.mathworks.com/matlabcentral/fileexchange/12021-udpip), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R11
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!