MATLAB: Is there a documentation error on pages 1-22 and 1-35 of the xPC Target 2.0 (R13) I/O Reference Guide

232asynchronousmessagereceiversrs-232rs232Simulink Real-Timestructurexpc

On page 1-22 of the xPC Target 2.0 (R13) I/O Reference Guide, there is an example RS-232 Message Structure (Asynchronous). In the example structure, it defines:
RS232_Receive(1).OutputPorts = [1];
......
RS232_Receive(1).EOM 1;
On the page 1-35 of xPC Target 2.0 (R13) I/O Reference Guide, at the last line of the table, the description is:
EOM End of message character.

Best Answer

This error has been forwarded to our documentation staff to be reviewed for a future release of xPC Target I/O Reference Guide.
On page 1-22, the documentation should read as follows:
RS232_Receive(1).OutputPorts = [1 2];
......
RS232_Receive(1).EOM = 1;
Because two floating-point numbers will be received, the number of the OutputPorts should be same as the number of received data.
On page 1-35, the documentation should read:
EOM Number of characters you use to indicate the end of a message.
For example, if each line of your data ends with '\r\n', you should set the EOM to 2 in the message structure as follows:
RS232_Receive(1).EOM = 2;