Hello . I had the same problem using traci4matlab as adama. He asked about this error in 12th of July 2016 in the following link: https://sourceforge.net/p/sumo/mailman/message/35215879/ I couldn't find an answer. I tried to figure it out myself and I think I have found the solution: In the manual to traci4matlab it is stated that one should add the following lines to the sumo configuration file of the project which initiates sumo on port 8813:
<traci_server> <remote-port value="8813"/> </traci_server> It is also noted that port 8813 is the default port and you can use the following function after running sumo: traci.init(); But here we have the error reported by adama in the link I provided. I looked in the traci4matlab's init.m file and in the new version of the file available at the following github page: https://github.com/pipeacosta/traci4matlab/blob/master/%2Btraci/init.m we have the following line: p.addOptional('port', 8873, @(x)isnumeric(x) && length(x)==1) It seems that they have changed the default port to 8873 without changing the manual! By setting your port to 8873 in the sumocfg file the problem is solved. I think I don't have access to sumo-devel list so I posted the solution here in the hope that it will be useful. I also proposed a change on github in the following link: https://github.com/pipeacosta/traci4matlab/compare/master...aboozarroosta:patch-1 Regards *Aboozar Roosta* Msc. Student of Electrical Engineering - Control School of Electrical and Computer Engineering, Tarbiat Modares University (TMU), Tehran, Iran. 2016 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user