Real-Time Workshop User's Guide    

Overview

The 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 the 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, and Tornado targets support host/target communication via TCP/IP, whereas the xPC target supports both RS232 (serial) and TCP/IP communication.


 The TCP/IP Implementation Using the TCP/IP Implementation