The Simulink® Real-Time™ software supports RS-232 serial communication by using the serial ports on the target computer mainboard as the RS-232 I/O devices. You can initiate RS-232 communication with these ports and the accompanying Simulink Real-Time drivers.
The Simulink Real-Time block library supplies composite drivers to support RS-232 communication (see RS-232 Composite Drivers). The composite drivers support RS-232 communication in asynchronous binary mode. They provide a simple ASCII encode/decode for the send and receive RS-232 blocks.
These drivers are described as composite because the library represents each functional piece of the driver as a Simulink block. They are constructed with blocks from the RS-232 internal library. The internal blocks are composite blocks for the Mainboard Baseboard series.
Do not use the RS-232 internal blocks directly. They are controlled from the mask parameters dialog box for the subsystem in which they are used.
The Simulink Real-Time software supports serial communication with the COM1 and COM2 ports on the target computer.
Your real-time applications can use these RS-232 ports as I/O devices. With the typical DTE/DCE configuration of the RS-232 device, the target computer is connected to the device with a null modem cable.
ASCII Decode | ASCII Decode V2 | ASCII Encode | FIFO Read | FIFO Read Binary | FIFO Read HDRS | FIFO Write | Modem Control | Modem Status | RS-232 Send/Receive | RS-232 Send/Receive FIFO | RS232 State