By matlab
Build, edit, simulate, and test Simulink models programmatically: modify model structure and parameters, run simulations for parameter sweeps, generate requirements and Gherkin regression tests, manage MATLAB projects, and author algorithm specs for Model-Based Design workflows.
Builds and edits Simulink, System Composer, Stateflow, and Simscape models. Use when modifying model structure, parameters, ports, connections, or Stateflow chart internals.
Generate a standalone bug report that another developer can use to reproduce, investigate, and fix an issue. Use when the user says 'file a bug', 'write a bug report', 'report this issue', or asks to document a defect for handoff.
Generates draft requirements from Simulink models. Use when drafting or updating requirement artifacts from a model. Prefers Requirements Toolbox (.slreqx) when available; falls back to structured YAML.
Manages MATLAB projects for Simulink workflows: path management, file registration, labels, source control configuration, and project lifecycle. Use when creating projects, adding models/dictionaries/requirements to projects, configuring labels for automation, fixing broken model references, or setting up source control for Simulink artifacts.
Runs Simulink models programmatically for data exploration, parameter sweeps, and custom analysis using sim() with SimulationInput/SimulationOutput. Use when calling sim(), parsim, setExternalInput, setModelParameter, setVariable, or accessing logsout — any task producing simulation results for analysis (not pass/fail tests).
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Give your AI coding agent the ability to read, build, edit, and test Simulink® models using Model-Based Design best practices.
The Simulink Agentic Toolkit packages MathWorks® Model-Based Design expertise for AI coding agents. It connects agents to Simulink through the Model Context Protocol (MCP), giving them both the ability (tools) and the knowledge (skills) to work with Simulink models effectively.
┌───────────┐ ┌───────────┐ ┌──────────┐
│ AI Agent │◄─MCP─►│MCP Server │◄─────►│ MATLAB / │
│ (Claude, │ │ (MATLAB │ │ Simulink │
│ Codex, │ │ MCP Core) │ └──────────┘
│ Copilot) │ └───────────┘
└───────────┘
▲
│ reads
┌─────┴─────┐
│ Skills │
│ (MBD best │
│ practices)│
└───────────┘
Your agent reads skills for domain knowledge, then calls MCP tools to interact with MATLAB and Simulink. The MATLAB MCP Core Server bridges the connection (downloaded during setup).
| Platform | Setup | Notes |
|---|---|---|
| Claude Code | Automated | |
| GitHub Copilot | Automated | |
| OpenAI Codex | Automated | |
| Gemini CLI | Automated | |
| Sourcegraph Amp | Automated |
Automated setup has been verified with basic workflows on each platform. The toolkit is under active development — please report issues if you encounter problems.
Full walkthrough: See the Getting Started guide for detailed instructions, platform-specific notes, verification steps, and troubleshooting.
Prerequisites:
The setupAgenticToolkit function handles installation, configuration, updates, and uninstallation for both the MATLAB and Simulink Agentic Toolkits. Download agenticToolkitInstaller.mltbx from the latest release, install it in MATLAB, then run:
setupAgenticToolkit("install")
This downloads the MCP server binary and toolkit files to ~/.matlab/agentic-toolkits/, then walks you through configuring your first coding agent (MCP server entry + skill registration). To set up additional agents later, run setupAgenticToolkit("configure"). To update to the latest version, run setupAgenticToolkit("update"). If your organization uses a CLI wrapper, pass AgentCLI="claude-code=/path/to/wrapper" during configure.
Existing users: If you previously set up the toolkit using the agent-driven workflow, you must uninstall that setup first. See Migrating from a Previous Installation in the Getting Started guide.
If you already have the MATLAB MCP Core Server installed or prefer full control, you can configure the toolkit manually. See Manual Setup in the Getting Started guide.
The MCP server connects to a running MATLAB session. Open MATLAB and run:
addpath("~/.matlab/agentic-toolkits/simulink")
satk_initialize
In MATLAB, open any Simulink model — your own, or a shipped example like f14:
openExample("simulink/AddBlockToModelFromLibraryExample") % only needed for R2023b+
open_system("f14")
Then ask your agent:
Describe the structure of the currently open model.
npx claudepluginhub matlab/simulink-agentic-toolkit --plugin model-based-design-coreDetects MATLAB, installs the MCP server, registers with your AI coding agent, and verifies the environment.
Slash commands for MATLAB development workflows — documentation, testing, optimization, code analysis, and MCP integration
Slash commands for MATLAB development workflows — documentation, testing, optimization, code analysis, and MCP integration
Detects MATLAB, installs the MCP server, registers with your AI coding agent, and verifies the environment.
AI-powered hardware development platform — design, verify, synthesize, and deploy working RTL with natural language. 18 agents, 25 skills, 8 IP blocks.
Commands for scenario simulation and decision modeling
97-agent RTL design pipeline with 97 skills for 6-Phase hardware design automation (Research → Architecture → μArch → RTL → Verify → Design Note)
Enterprise AI agent orchestration plugin with 150+ commands, 74+ specialized agents, SPARC methodology, swarm coordination, GitHub integration, and neural training capabilities