Install any skill in seconds. Free to start, no credit card required.
Get Started Free →matlab/matlab-cosimulate-sumo-simulink
Build Simulink models that co-simulate with Eclipse SUMO traffic simulator.
Passed 19 of 21 test cases with the skill, and 8 of 21 without it.
and 18 more in the full report
13 fixed7 passed either way1 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 12 test cases the skill fixed. Same model, same prompt, with and without the skill.
Write a MATLAB command that invokes the SUMO netgenerate binary to create a 3x3 grid network with 150-meter street lengths, saving the result to 'grid_net.net.xml' in the working directory.
| Checked | Without skill | With skill |
|---|---|---|
| The command invokes the netgenerate executable from the SUMO_HOME bin directory. | Missed | Passed |
| The command includes the --grid flag. | Passed | Passed |
The instructions your model reads when the skill loads.
Create Simulink models that run synchronized co-simulation with Eclipse SUMO using the SumoInterfaceLibrary blocks from the Automated Driving Toolbox Interface for Eclipse SUMO Traffic Simulator.
SUMO_HOME environment variable setSUMO_HOME — The Server block's launcher concatenates SUMO_HOME + "bin\..." without a separator. If SUMO_HOME lacks a trailing \ or /, every sim() fails with "Failed to launch Eclipse SUMO simulator" even though SUMO is installed correctly. Always run before building/simulating:if ~endsWith(getenv('SUMO_HOME'), filesep)
setenv('SUMO_HOME', [getenv('SUMO_HOME') filesep]);
end
getenv('SUMO_HOME') must return a valid path ending with a separator.When mcp__matlab__model_edit (SATK) is available, prefer it over raw add_block/add_line. It applies auto-layout after every edit, produces clean wiring with no overlap, and lets you reference newly-added blocks by ref within the same call. The patterns below still apply — express them as add_block/connect/configure operations in a single JSON payload. Fall back to add_block/add_line only when SATK is unavailable or when the operation is not expressible in the schema (e.g., setting MATLAB Function Script via sfroot).
Note: When wiring EnablePort on a freshly-created Enabled Subsystem whose default In1/Out1 have been deleted, model_edit cannot resolve the Enable port. Workaround: add_line(model, 'Source/1', 'SubsystemName/Enable', 'autorouting','smart').
test cases passed, vs 8 / 21 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.