What IP address should I use with xPC Target to connect the host and target computers using a TCP/IP crossover cable?

3 views (last 30 days)
The host computer connects directly to the target computer via TCP/IP connection without going through the Local Area Network. The two computers are linked directly with a crossover cable.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
To begin, use an unshielded twisted pair (UTP) cross-over cable with RJ45 connectors for direct connection between the host and target computers, and then use the following steps:
1) Enter the following command at the MATLAB command prompt on the host computer:
!ipconfig
2) Assign the target computer IP address to be 1 above the host PC IP address. For example, if IPCONFIG returns the IP address of "192.168.1.100", then enter an IP address of "192.168.1.101" for your target computer in the XPCSETUP GUI.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!