Enabling it
Enable Simulink MCP so the agent can inspect and edit models on your machine.
1. Install the Simulink Agentic Toolkit
Recommended: In MBD Mind, open Settings → Connection and click Install Simulink toolkit. The in-app wizard downloads the MCP server binary, MATLAB toolbox (.mltbx), and toolkit repo, then guides you through MATLAB steps.
Manual fallback:
- Follow MathWorks Simulink Agentic Toolkit setup for your OS.
- Confirm skills exist (e.g.
building-simulink-models) under%USERPROFILE%\.agents\skills\or use the copy bundled with MBD Mind. - Note the toolkit root folder and MCP server executable path from the installer.
2. Complete setup in MATLAB
The wizard can download toolkit files without MATLAB running. You need MATLAB open for the steps below.
- Launch MATLAB on the same PC as MBD Mind.
- In the wizard (after download completes), copy and run the toolbox install command in the MATLAB Command Window (once per MATLAB version).
- Click Initialize SATK in the wizard — MBD Mind opens or attaches to MATLAB and runs
satk_initialize. Or runsatk_initializemanually per MathWorks docs. - Open your target
.slxmodel, or leave Pre-open .slx models before edit workflows enabled in Settings → Tool permissions (default on).
3. Configure paths in MBD Mind
If you used Install Simulink toolkit, paths are filled automatically. Otherwise:
-
Open Settings → Connection and check Simulink MCP status.
-
Click Edit paths or Advanced diagnostics, then use Load defaults or enter paths manually:
- MCP server path — toolkit MCP executable
- Toolkit root — Simulink Agentic Toolkit install folder
- MATLAB root — optional; only if auto-detection fails
- Project path for eval — usually your active project folder
Paths persist in local storage on your device.
4. Verify connection
Quick check: On Settings → Connection, click Test connection. The status line should report a healthy MCP ping.
In the wizard: After Initialize SATK, click Verify connection (step 3 in the post-install wizard).
Advanced checks: Open Advanced diagnostics and run checks in order:
| Check | Pass criteria |
|---|---|
| Ping | MCP server responds |
| Process | Server process healthy |
| PWD / project | Project path resolves for evaluations |
Then run a sample toolkit tool (e.g. model_overview on f14.slx or your model).
Settings → Connection should show Simulink MCP status OK.
5. Verify in the Agent view
- Open your project folder (
Ctrl+Shift+O). - Ask: "What Simulink models are loaded?"
- Open the Activity panel (
Ctrl+J) — look for Native MCP tool loop with real tool calls, not text-only replies. - Try a small edit: "Read the root interfaces of my_model.slx" before any
model_edit.
Settings that affect MCP
Settings → Tool permissions
- Pre-open .slx models before edit workflows — calls
open_systembefore edit tools (recommended) - Context budget — how much prior thread and tool output replays on each turn
- Model switch handoff — raw replay vs summarized handoff when you change models mid-session
Settings → Account → Privacy & telemetry
- Share usage telemetry — optional behavior events, session activity logs, and tool calls to org admin (no chat message bodies)
Troubleshooting
| Symptom | Fix |
|---|---|
| MCP status error | MATLAB running; toolkit initialized; recheck server path |
| Tools timeout | Close stray MCP processes; restart MATLAB |
| Model not found | Open the .slx or name the file explicitly in the prompt |
| Weak edits with Ollama | Try a cloud model with stronger native tool support |
Next steps
- Getting started with the desktop app — full setup checklist
- MATLAB MCP overview — conceptual reference
- First run — project folder and first prompts