Real-Time Workshop    

The TCP/IP Implementation

Real-Time Workshop provides code to implement both the client and server side based on TCP/IP. You can use the socket-based external mode implementation provided by Real-Time Workshop with the generated code, provided that your target system supports TCP/IP.

A low-level transport layer handles physical transmission of messages. Both Simulink and the model code are independent of this layer. Both the transport layer and code directly interfacing to the transport layer are isolated in separate modules that format, transmit, and receive messages and data packets.

This design makes it possible for different targets to use different transport layers. For example, the GRT, GRT malloc, ERT, and Tornado targets support host/target communication via TCP/IP, whereas the xPC target supports both RS232 (serial) and TCP/IP communication.


  Inlined and Tunable Parameters Using the TCP/IP Implementation