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

4 visualizaciones (últimos 30 días)
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.

Respuestas (0)

Categorías

Más información sobre Green Vehicles en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by