| Contents | Index |
int xPCReOpenPort(int port);
port | Enter the value returned by either the function xPCOpenSerialPort or the function xPCOpenTcpIpPort. |
The xPCReOpenPort function returns 0 if it successfully reopens a connection. If there is an error, this function returns -1.
The xPCReOpenPort function reopens the communications channel pointed to by port. The difference between this function and xPCOpenSerialPort or xPCOpenTcpIpPort is that xPCReOpenPort uses the already existing settings, while the other functions need to be set up properly.
API functions xPCOpenTcpIpPort, xPCClosePort

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |