-
Notifications
You must be signed in to change notification settings - Fork 38
How To Link SUMO
吴卓霏_Felix edited this page Jul 17, 2023
·
2 revisions
If you want to link SUMO with this simulator, The following main steps are needed:
To finalize your setup, please make sure to set the SUMO_HOME environment variable and have it point to the directory of your SUMO installation. please see the SUMO installing.
E.g.
SUMO_HOME="D:\Program Files (x86)\Eclipse\Sumo"
More details could be found after SUMO is installed, please check the path:
...\SUMO_installation_directory\tools\contributed\traci4matlab\user_manual.pdf
- set a new txt file with name "javaclasspath.txt"
- save the path of traci4matlab.jar into this file:
E.g.
...\SUMO_installation_directory\tools\contributed\traci4matlab\traci4matlab.jar
- save this txt file in the preferences directory of Matlab, which can be identified using the prefdir command.
- At last, you may need to restart the Matlab to make the setting available
This step is done automatically in the simulator