Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] TraCI4Matlab fix

Hi, I got a really annoying error when using TraCI4Matlab in SUMO ver 31.

Error: tcpip::Socket::recvAndCheck @ recv: peer shutdown

And when I looked in to the files in the +traci folder I discovered that init.m had commented out the following lines

 

[pathstr,~,~] = fileparts(which('traci.init'));

javaaddpath([pathstr '\..\traci4matlab.jar']);

 

These two lines were used in the version 25, that was a version that worked for me and that’s why I started to do file comparison.

 

So when taking them back in code the simulation started to work again.

 

Kind regards

 

Magnus Bengtsson
Associate Professor                                
Department of Industrial and Material Sciences

Divison of Product Development
+46(0)31 772 50 19

+46(0)733-16 41 24 (mobile)

magnus.bengtsson@xxxxxxxxxxx

 


Back to the top