Automated Driving Toolbox Interface for Eclipse SUMO Traffic Simulator
This support package provides Simulink blocks to co-simulate with Eclipse SUMO.
36 Downloads
Updated
26 Jan 2026
Automated Driving Toolbox Interface for Eclipse™ SUMO™ Traffic Simulator helps you bring realistic traffic simulation into your MATLAB and Simulink workflows. This interface provides a set of custom Simulink blocks that enable seamless communication with the SUMO traffic simulator, allowing you to design, test, and validate automated driving algorithms in dynamic traffic environments.
Why Use This Interface?
- Validate ADAS and autonomous driving systems in realistic traffic conditions.
- Combine SUMO’s detailed traffic modeling with MATLAB/Simulink simulation environment.
- Accelerate research and prototyping with an integrated simulation environment.
Key Features
- Spawn Traffic: Dynamically add vehicles to the SUMO simulation.
- Delete Vehicles: Remove vehicles during runtime for flexible scenario control.
- Read Traffic Data: Access real-time vehicle positions and speeds from SUMO.
- Write Control Commands: Influence vehicle behavior and traffic flow directly from Simulink.
- Co-Simulation Support: Works with MATLAB’s Automated Driving Toolbox, Driving Scenario Designer, and RoadRunner for closed-loop testing.
This support package provides Simulink blocks that enables you interact with SUMO based on a client and server model, where SUMO acts as the server and Simulink act as the client.
Server: Configure SUMO server for cosimulation with Simulink
Client: Configure Simulink client for cosimulation with SUMO
Actor: Add or remove actor in SUMO scenario
Reader: Reads selected topic from SUMO scenario
Writer: Writes selected topic to SUMO scenario
Prerequisite:
Automated Driving Toolbox Interface for Eclipse SUMO Traffic Simulator support package cosimulates with only SUMO Version 1.20.0 on Windows® and Linux® platforms.
- Download the SUMO Version 1.20.0.
What is SUMO?
SUMO, or Simulation of Urban MObility, is an open-source traffic simulation package designed to handle large road networks. It's used for simulating and analyzing vehicular traffic and testing traffic management systems.
The key features of SUMO are:
- Microscopic simulation to model individual vehicles and handling large road networks.
- Interoperability by importing road networks from OpenStreet Map and also allowing for integration with real time data.
- Traffic management simulation using various strategies including traffic lights, lane clousers, variable speeds etc.
MATLAB Release Compatibility
Created with
R2026a
Compatible with R2026a
Platform Compatibility
Windows macOS (Apple Silicon) macOS (Intel) LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
