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

5 visualizzazioni (ultimi 30 giorni)
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.

Risposte (0)

Categorie

Scopri di più su Green Vehicles in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by