xPC Target    

Connecting the Web Interface

The TCP/IP stack on the xPC Target kernel supports only one simultaneous connection, since its main objective is real-time applications. This connection is shared between MATLAB and the Web browser. This also means that only one browser or MATLAB is able to connect at one time.

Before you connect your Web browser, a target application must be loaded onto the target PC. Whether the target application is running or not is irrelevant, but it must be loaded. Also, JavaScript and StyleSheets must be turned on.

  1. In the MATLAB window, type

    MATLAB is disconnected from the target PC, and the connection is reset for connecting to another client. If you do not use this command, your Web browser may not be able to connect to the target PC.

  1. Open a Web browser. In the address box, enter the IP address and port number you entered in the xPC Target Setup window. For example, if the target computer IP address is 192.168.0.1 and the port is 22222, type

    The browser loads the xPC Target Web interface frame and pages.


 Web Interface Using the Main Page