Hello everyone,

I meet a problem when using traci4matlab. It seem like the connection between 
MATLAB and SUMO during the simulation is reset, and the error hint in MATLAB is:

Error using traci.recvExact (line 35)
Java exception occurred:
java.net.SocketException: Connection reset

              at java.net.SocketInputStream.read(SocketInputStream.java:210)

              at java.net.SocketInputStream.read(SocketInputStream.java:141)

              at java.net.SocketInputStream.read(SocketInputStream.java:224)

              at java.io.DataInputStream.readInt(DataInputStream.java:387)


Error in traci.sendExact (line 23)
result = traci.recvExact();

Error in traci.simulationStep (line 49)
result = traci.sendExact();

Error in traci.simulation.step (line 18)
traci.simulationStep(time);

Error in Journal_matlab (line 70)
traci.simulation.step();

And also in my code, this issue happened not in specific sampling time, rather 
randomly. I test the program for several times, at every time the problem  
happened in different sampling time.

Has anyone also met this problem before, could you please give me some 
suggestions to solve this problem? Thanks.

Best Regards,
Xun Liu
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to