User`s guide

Web Interface
3-5
c:\MATLABR12\toolbox\rtw\targets\xpc\xpc\bin\xpctcp2ser -v -t
22222 -c 1
The TCP/IP to RS232 gateway starts running, and the DOS command
window displays the message
*--------------------------------------------------------------*
* xPC Target TCP/IP to RS232 gateway *
* Copyright 2001 The MathWorks *
*--------------------------------------------------------------*
Connecting COM to TCP port 22222
Waiting to connect
If you did not close the MATLAB to target application connection, then DOS
displays the message,
Could not initialize COM port.
3 Open a Web browser. In the address box, enter
http://localhost:22222/
The Web browser loads the xPC Target Web interface pages.
4 Using the Web interface, start and stop the target application, add scopes
add signals, and change parameters.
5 In the DOS command window, press Ctrl+C
The TCP/IP to RS232 Gateway stops running, and the DOS command
window displays the message
Interrupt received, shutting down
The gateway application has a handler that responds to Ctrl-C by
disconnecting and shutting down cleanly. In this case, Ctrl-C is not used to
abort the application.
6 In the MATLAB command window, type