How can I create a electric vehicle on SUMO using TraCI4Matlab?

4 views (last 30 days)
Hello,
I am trying to create a Electric Vehicle, but I don't know how I can do with TraCI4Matlab. I have tried to change class of a vehicle alredy created to "evehicle", but it does not work. I have used the next code:
traci.vehicle.setVehicleClass(VehicleID,'evehicle');
Has anyone tried before?
Thanks in advance.

Answers (0)

Categories

Find more on Green Vehicles in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!