xPC Target    

Troubleshooting the Build Process

If the host PC and target PC are not properly connected or you have not correctly entered the environment properties, the download process is terminated after about 5 seconds with a time-out error.

To correct the problem, use the following procedure:

  1. In the MATLAB Command Window, type
  1. The xPC Target Setup window opens.

  1. Check RS232 or TCP/IP parameters. If necessary, make changes to the communication properties, update the properties, and recreate the target boot disk.
  1. In some cases, the download may have completed successfully even though you get a time-out error. To detect this, wait until the target screen displays

  1. In the MATLAB Command Window, type
  1. For a working connection between the host PC and target PC, MATLAB displays the message

  1. Type
  1. If the connection is resumed (Connected = Yes), then the connection is all right. If the connection is timing out consistently for a particular model, then the time out needs to be increased. See Increasing the Time Out Value.

For information on setting up the xPC Target software environment, see either Environment Properties for Serial Communication or Environment Properties for Network Communication, and then see Target Boot Disk.


  Building and Downloading the Target Application Increasing the Time Out Value