xpc target error 8 102 1

I'm using Matlab 2014b. Sometimes I get the error 8 102 1, eaddrinuse and xpc says system halted. Mathworks support told me to increase communication timeout and said the issue was resolved, but it still happens after increasing timeout to 200. Anyone face this issue before? Are there any specific details about the error code?
Thanks, Harsh Karve

3 Comments

Hi Harsh,
Can you post here the exact error message that you get?
Does this error happen sporadically or does it happen when you execute some code or run some real time testing? Can you provide me with some materials (code and/or data sets) that can help me reproduce the issue?

Satyajeet,

It happens when I'm building models to the target. It does happen sporadically. It happens for any model. I know the models are configured correctly, because they normally download and run. Pinging the target from command line works. xPC target ping normally works, but fails when I get the error. Here is a picture of the xPC window:

And here is a picture of the diagnostic window on the host machine:

I've also attached the slrtinfo.txt file. I tried to attach the test model, but I could not do so here.

You can attach pretty much anything here by putting it inside a .zip

Sign in to comment.

Answers (1)

TotallyNotABot
TotallyNotABot on 22 Nov 2017

0 votes

In case anyone still has the Error EADDRINUSE 8 102 1:
I solved it by activating "USB Support" in the Target Settings (slrtexplr -> "Your_Target" -> Properties).
If you're working with grafic mode enabled, you will only see "System halted". Without grafic mode you can check if this is your specific error.
Apparently simulink/your target machine doesn't like working without USB Support, even if there are no USB devices connected.

Categories

Asked:

on 16 Aug 2015

Answered:

on 22 Nov 2017

Community Treasure Hunt

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

Start Hunting!