Introducing the MATLAB Agentic Toolkit


Short version: MathWorks have released the MATLAB Agentic Toolkit which will significantly improve the life of anyone who is using MATLAB and Simulink with agentic AI systems such as Claude Code or OpenAI Codex. Go and get it from here: https://github.com/matlab/matlab-agentic-toolkit
Sooraj
Sooraj on 20 May 2026 at 14:53
Happy to help test workflows, Hans — and sharing something relevant that came out of using the toolkit in production.
While building Simscape models for powertrain simulation (PMSM FOC, quarter-car suspension) with Claude Code and the SATK, I ran into two friction points:
1. Verbose output filling Claude's context window. A single whos call returns a 1,800-character aligned table. Repeated solver warnings fire once per timestep. A Simulink build log repeats ### Starting build procedure for: for every referenced model. None of that is useful to the LLM — it's just token waste.
2. The simulink server failing to attach (--matlab-session-mode=existing). The root cause: matlab-mcp-core-server starts MATLAB lazily (on first tool call), but by then the simulink server's 30-second discovery window has expired. Fix: add --initialize-matlab-on-startup=true to the matlab server args — MATLAB boots at Claude Code launch and the simulink server finds it within the window.
I built an open-source proxy that sits between Claude Code and matlab-mcp-core-server to address both: 14 domain-specific compression rules (48–66% token reduction on Simscape output) and session ordering fixed. Validated on a 2-DOF quarter-car Simscape model — 61.7% lower peak chassis velocity with active vs passive PD control, model built entirely via model_edit.
Happy to share more about the Simscape workflows if useful for testing.
David
David on 17 Apr 2026 (Edited on 17 Apr 2026)
Hot on the heels of this release is the Simulink Agentic Toolkit - https://github.com/simulink/simulink-agentic-toolkit. I've added a link in the right colum of the Generative AI channel page.
Michael
Michael on 15 Apr 2026
What does your roadmap look like.Thoughts on toolbox specific skills?
Hans Scharler
Hans Scharler on 24 Apr 2026 at 18:53
Do you want to help us test out new workflows?
Michael
Michael on 30 Apr 2026 at 17:30
Yeah I think we would be interested in helping out with that