Specifications

2 RS232 I/O Support
2-24
7 Connect the input and output ports on the RS-232 driver blocks to other
blocks in your Simulink model.
Your model should look similar to the figure shown below.
8 Set the pre-load function for your Simulink model to load the message
structures when you open the model. For example, if you saved the message
structures in the M-file
RS232async_messages, type
set_pram(gcs, ’PreLoadFcn’,’RS232async_messages’)
Note If you do not manually load the message structures before opening
your Simulink model, or have the message structures automatically loaded
with the model, the port connections to the RS-232 blocks breaks.
Your next task is to build and run the target application.