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:

  1. Follow MathWorks Simulink Agentic Toolkit setup for your OS.
  2. Confirm skills exist (e.g. building-simulink-models) under %USERPROFILE%\.agents\skills\ or use the copy bundled with MBD Mind.
  3. 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.

  1. Launch MATLAB on the same PC as MBD Mind.
  2. In the wizard (after download completes), copy and run the toolbox install command in the MATLAB Command Window (once per MATLAB version).
  3. Click Initialize SATK in the wizard — MBD Mind opens or attaches to MATLAB and runs satk_initialize. Or run satk_initialize manually per MathWorks docs.
  4. Open your target .slx model, 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:

  1. Open Settings → Connection and check Simulink MCP status.

  2. 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:

CheckPass criteria
PingMCP server responds
ProcessServer process healthy
PWD / projectProject 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

  1. Open your project folder (Ctrl+Shift+O).
  2. Ask: "What Simulink models are loaded?"
  3. Open the Activity panel (Ctrl+J) — look for Native MCP tool loop with real tool calls, not text-only replies.
  4. 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_system before 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

SymptomFix
MCP status errorMATLAB running; toolkit initialized; recheck server path
Tools timeoutClose stray MCP processes; restart MATLAB
Model not foundOpen the .slx or name the file explicitly in the prompt
Weak edits with OllamaTry a cloud model with stronger native tool support

Next steps

Enabling it | MBD Mind