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

5 vues (au cours des 30 derniers jours)
Juan Alfonso Serrano
Juan Alfonso Serrano le 4 Nov 2016
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.

Réponses (0)

Catégories

En savoir plus sur Green Vehicles dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by