Skip to content
Back to search

simulink-agentic-toolkit

SkillGitHubIncomplete

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/matlab--simulink-agentic-toolkit/badge.svg)](/listings/matlab--simulink-agentic-toolkit)

HTML

<a href="/listings/matlab--simulink-agentic-toolkit"><img src="/api/listings/matlab--simulink-agentic-toolkit/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

You can use the Agentic Toolkit installer to set up the Simulink Agentic Toolkit. The installer:

* Supports both the MATLAB and Simulink Agentic Toolkits. * Supports connecting to an existing MATLAB session (--matlab-session-mode="auto" or "existing"). * Provides the option to configure your agent for individual projects or globally.

Follow these steps to set up the Simulink Agentic Toolkit.

1. Download [agenticToolkitInstaller.mltbx](https://github.com/matlab/simulink-agentic-toolkit/releases/latest/download/agenticToolkitInstaller.mltbx). 2. Open the downloaded file to install the installer add-on. If the Add-On Manager fails to launch (common on headless machines, corporate proxies/antivirus, or older MATLAB versions — you may see this error ERR_CERT_AUTHORITY_INVALID or "Unable to open the requested feature"), install programmatically instead:

   matlab.addons.toolbox.installToolbox("agenticToolkitInstaller.mltbx")

3. After installing, in MATLAB, run:

   setupAgenticToolkit("install")

To uninstall the toolkit, run `setupAgenticToolkit("uninstall")`.

> **Existing users:** If you previously set up the toolkit using the agent-driven workflow, you must uninstall that custom installation and global configuration setup. See [Migrating from a Previous Installation](Migrate-from-Previous-Installation.md).

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

.claude-plugin/marketplace.json · Manifest · 186 lines
  1. {
  2. "$schema": "https://anthropic.com/claude-code/marketplace.schema.json",
  3. "name": "simulink-agentic-toolkit",
  4. "owner": {
  5. "name": "MathWorks"
  6. },
  7. "plugins": [
  8. {
  9. "name": "model-based-design-core",
  10. "version": "0.11.0",
  11. "description": "Foundational Model-Based Design capabilities for the Simulink product family",
  12. "author": {
  13. "name": "MathWorks"
  14. },
  15. "keywords": ["simulink", "matlab", "model-based-design"],
  16. "source": "./skills-catalog/model-based-design-core",
  17. "category": "development",
  18. "strict": false,
  19. "skills": "./"
  20. },
  21. {
  22. "name": "model-based-system-engineering",
  23. "version": "0.3.3",
  24. "description": "Model-Based Systems Engineering capabilities for System Composer architecture models",
  25. "author": {
  26. "name": "MathWorks"
  27. },
  28. "keywords": ["system-composer", "mbse", "systems-engineering", "architecture", "simulink"],
  29. "source": "./skills-catalog/model-based-system-engineering",
  30. "category": "development",
  31. "strict": false,
  32. "skills": "./"
  33. },
  34. {
  35. "name": "verification-validation-and-test",
  36. "version": "0.8.4",
  37. "description": "Author custom Model Advisor checks, run compliance reviews against industry standards (MISRA, MAB, ISO 26262, DO-178C, AUTOSAR, SLCI), author persistent, requirement-traceable Simulink Test cases, inject faults for robustness testing, perform safety analysis (FMEA, FHA, FTA), detect design errors with root cause analysis using Simulink Design Verifier, fix SLDV incompatibilities, explain missing coverage objectives, and collect quality metrics (maintainability, complexity, testing, coverage) using metric.Engine",
  38. "author": {
  39. "name": "MathWorks"
  40. },
  41. "keywords": ["simulink", "model-advisor", "verification", "validation", "compliance", "misra", "iso-26262", "do-178c", "slci", "simulink-code-inspector", "simulink-test", "testing", "mldatx", "requirements-traceability", "fault-injection", "safety-analysis", "fmea", "fta", "design-error-detection", "simulink-design-verifier", "root-cause-analysis", "quality-metrics", "metric-engine", "maintainability", "coverage-metrics"],
  42. "source": "./skills-catalog/verification-validation-and-test",
  43. "category": "development",
  44. "strict": false,
  45. "skills": "./"
  46. },
  47. {
  48. "name": "code-generation",
  49. "version": "0.7.3",
  50. "description": "Prepare Simulink models for production code generation, including single-precision conversion, optimizing generated embedded code for runtime, memory, and MISRA compliance, configuring Embedded Coder deployment settings, and customizing A2L calibration files",
  51. "author": {
  52. "name": "MathWorks"
  53. },
  54. "keywords": ["simulink", "code-generation", "embedded-coder", "fixed-point-designer", "single-precision", "optimization", "misra", "a2l"],
  55. "source": "./skills-catalog/code-generation",
  56. "category": "development",
  57. "strict": false,
  58. "skills": "./"
  59. },
  60. {
  61. "name": "simulink-simulation",
  62. "version": "0.3.1",
  63. "description": "Create input signal datasets, import data into the Simulation Data Inspector, run multiple Simulink simulations and check Rapid Accelerator compatibility for Simulink model simulation",
  64. "author": {
  65. "name": "MathWorks"
  66. },
  67. "keywords": ["simulink", "matlab", "simulation", "input-data", "signals", "dataset", "sdi", "data-inspector", "rapid-accelerator", "raccel", "compatibility"],
  68. "source": "./skills-catalog/simulink-simulation",
  69. "category": "development",
  70. "strict": false,
  71. "skills": "./"
  72. },
  73. {
  74. "name": "simulink-modeling",
  75. "version": "0.2.0",
  76. "description": "Configure and integrate C/C++ and Python code into Simulink models via C Function and Python Code blocks",
  77. "author": {
  78. "name": "MathWorks"
  79. },
  80. "keywords": ["simulink", "c-function", "custom-code", "legacy-code", "cpp", "python", "python-code", "integration"],
  81. "source": "./skills-catalog/simulink-modeling",
  82. "category": "development",
  83. "strict": false,
  84. "skills": "./"
  85. },
  86. {
  87. "name": "control-systems",
  88. "version": "0.3.1",
  89. "description": "Control system design and analysis for Simulink models",
  90. "author": {
  91. "name": "MathWorks"
  92. },
  93. "keywords": ["simulink", "control-design", "linearization", "lti", "lpv", "frequency-response", "motor-control"],
  94. "source": "./skills-catalog/control-systems",
  95. "category": "development",
  96. "strict": false,
  97. "skills": "./"
  98. },
  99. {
  100. "name": "simulink-environment-fundamentals",
  101. "version": "0.1.2",
  102. "description": "Core Simulink environment capabilities, including discovering shipped example models",
  103. "author": {
  104. "name": "MathWorks"
  105. },
  106. "keywords": ["simulink", "examples", "example-models", "discovery", "model-finder"],
  107. "source": "./skills-catalog/simulink-environment-fundamentals",
  108. "category": "development",
  109. "strict": false,
  110. "skills": "./"
  111. },
  112. {
  113. "name": "signal-processing",
  114. "version": "0.1.0",
  115. "description": "Frame-based streaming DSP models in Simulink using DSP System Toolbox — correct block selection, frame configuration, tunable filters, buffering, multirate, variable-rate decimation",
  116. "author": {
  117. "name": "MathWorks"
  118. },
  119. "keywords": ["simulink", "dsp", "signal-processing", "streaming", "frame-based", "audio", "filter", "multirate", "buffering", "decimation"],
  120. "source": "./skills-catalog/signal-processing",
  121. "category": "development",
  122. "strict": false,
  123. "skills": "./"
  124. },
  125. {
  126. "name": "physical-modeling",
  127. "version": "0.1.0",
  128. "description": "Model, simulate, and analyze multidomain physical systems with the Simscape product family",
  129. "author": {
  130. "name": "MathWorks"
  131. },
  132. "keywords": ["simscape", "physical-modeling", "ssc", "simulink", "matlab"],
  133. "source": "./skills-catalog/physical-modeling",
  134. "category": "development",
  135. "strict": false,
  136. "skills": "./"
  137. },
  138. {
  139. "name": "real-time-simulation-and-testing",
  140. "version": "0.1.0",
  141. "description": "Configure, deploy, and run Simulink models on real-time target computers with Simulink Real-Time",
  142. "author": {
  143. "name": "MathWorks"
  144. },
  145. "keywords": ["simulink", "simulink-real-time", "slrt", "real-time", "hil", "code-generation", "speedgoat", "deployment"],
  146. "source": "./skills-catalog/real-time-simulation-and-testing",
  147. "category": "development",
  148. "strict": false,
  149. "skills": "./"
  150. },
  151. {
  152. "name": "simulink-block-and-blockset-authoring",
  153. "version": "0.1.1",
  154. "description": "Author the appearance of custom Simulink blocks, such as dynamic SVG block icons",
  155. "author": {
  156. "name": "MathWorks"
  157. },
  158. "keywords": ["simulink", "mask", "block-icon", "icon-editor", "svg", "dvg", "block-authoring"],
  159. "source": "./skills-catalog/simulink-block-and-blockset-authoring",
  160. "category": "development",
  161. "strict": false,
  162. "skills": "./"
  163. },
  164. {
  165. "name": "aerospace",
  166. "version": "0.1.0",
  167. "description": "Aerospace skills for Simulink models using Aerospace Blockset",
  168. "author": {
  169. "name": "MathWorks"
  170. },
  171. "keywords": [
  172. "simulink",
  173. "aerospace",
  174. "aerospace-blockset",
  175. "multi-vehicle",
  176. "uav",
  177. "mission-planning",
  178. "trajectory"
  179. ],
  180. "source": "./skills-catalog/aerospace",
  181. "category": "development",
  182. "strict": false,
  183. "skills": "./"
  184. }
  185. ]
  186. }
README.md · README · 369 lines
  1. # Simulink Agentic Toolkit
  2. The Simulink® Agentic Toolkit allows you to use AI agents with Simulink by giving your AI agent the knowledge and context to read, build, edit, and test Simulink® models using Model-Based Design best practices. It connects agents to Simulink through the [MATLAB MCP Server](https://github.com/matlab/matlab-mcp-core-server), giving them the **ability** (tools) and the **knowledge** (skills) to work with Simulink models effectively. Use this toolkit to provide trusted Simulink capabilities to your agent. This toolkit prevents your AI coding agent from hallucinating, missing new features, and wasting time with extra steps that experienced Simulink users would skip.
  3. The toolkit provides:
  4. - **MCP tools** for reading, editing, querying, testing, and checking Simulink models
  5. - **Agent skills** encoding Model-Based Design best practices for model building, simulation, plant specification, testing, requirements, project management, and architecture modeling
  6. - **Automated setup** using a MATLAB® function that installs the MATLAB MCP Server, configures your agent, and registers skills
  7. - Supports **Claude Code, Copilot, Codex, Amp, and Gemini CLI**
  8. > To use AI agents with MATLAB, install the [MATLAB Agentic Toolkit](https://github.com/matlab/matlab-agentic-toolkit). Use the automated setup option to install both the toolkits in one step.
  9. ## How the Simulink Agentic Toolkit Works
  10. ```
  11. ┌───────────┐ ┌───────────┐ ┌──────────┐
  12. │ AI Agent │◄─MCP─►│MCP Server │◄─────►│ MATLAB / │
  13. │ (Claude, │ │ (MATLAB │ │ Simulink │
  14. │ Codex, │ │ MCP Core) │ └──────────┘
  15. │ Copilot) │ └───────────┘
  16. └───────────┘
  17. ▲
  18. │ reads
  19. ┌─────┴─────┐
  20. │ Skills │
  21. │ (MBD best │
  22. │ practices)│
  23. └───────────┘
  24. ```
  25. Your agent reads **skills** for domain knowledge, then calls **MCP tools** to interact with MATLAB and Simulink. The [MATLAB MCP Server](https://github.com/matlab/matlab-mcp-core-server) bridges the connection (downloaded during setup).
  26. ## Requirements
  27. - **MATLAB R2023a or later** with **Simulink**
  28. - A supported **AI coding agent** (see [Supported Platforms](README.md#supported-platforms))
  29. - **Simulink Test** *(optional)* — required only for the `model_test` tool
  30. - Some skills require additional toolboxes (e.g., System Composer, Simscape, Stateflow). Check the `requires-products` field in each skill's `manifest.yaml` under [`skills-catalog/`](skills-catalog/) for additional requirements.
  31. ## Supported Platforms
  32. The Simulink Agentic Toolkit works with any AI coding agent that supports skills and MCP. The automated setup has been verified on the platforms listed below. Performance may vary with other coding agents.
  33. | Platform | Setup |
  34. |----------|-------|
  35. | [Claude Code](https://claude.ai/code) | Automated |
  36. | [GitHub Copilot](https://github.com/features/copilot) | Automated |
  37. | [OpenAI Codex](https://openai.com/codex) | Automated |
  38. | [Gemini CLI](https://github.com/google-gemini/gemini-cli) | Automated |
  39. | [Sourcegraph Amp](https://ampcode.com/) | Automated |
  40. ## Get Started with the Simulink Agentic Toolkit
  41. These steps show you how to use the Simulink Agentic Toolkit to install the MATLAB MCP Server and add skills to your agent.
  42. > Note: For detailed instructions on configuration options for this toolkit, platform-specific notes, verification steps, and troubleshooting, see [Configuration and Troubleshooting](Configuration_and_Troubleshooting.md).
  43. ### Install Simulink Agentic Toolkit (Automated Setup)
  44. You can use the Agentic Toolkit installer to set up the Simulink Agentic Toolkit. The installer:
  45. * Supports both the MATLAB and Simulink Agentic Toolkits.
  46. * Supports connecting to an existing MATLAB session (--matlab-session-mode="auto" or "existing").
  47. * Provides the option to configure your agent for individual projects or globally.
  48. Follow these steps to set up the Simulink Agentic Toolkit.
  49. 1. Download [agenticToolkitInstaller.mltbx](https://github.com/matlab/simulink-agentic-toolkit/releases/latest/download/agenticToolkitInstaller.mltbx).
  50. 2. Open the downloaded file to install the installer add-on. If the Add-On Manager fails to launch (common on headless machines, corporate proxies/antivirus, or older MATLAB versions — you may see this error ERR_CERT_AUTHORITY_INVALID or "Unable to open the requested feature"), install programmatically instead:
  51. ```matlab
  52. matlab.addons.toolbox.installToolbox("agenticToolkitInstaller.mltbx")
  53. ```
  54. 3. After installing, in MATLAB, run:
  55. ```matlab
  56. setupAgenticToolkit("install")
  57. ```
  58. To uninstall the toolkit, run `setupAgenticToolkit("uninstall")`.
  59. > **Existing users:** If you previously set up the toolkit using the agent-driven workflow, you must uninstall that custom installation and global configuration setup. See [Migrating from a Previous Installation](Migrate-from-Previous-Installation.md).
  60. ### Alternative Manual Installation Workflow
  61. If you prefer to manage your own MATLAB MCP server installation and agent configuration, or if you are using an agent that is not listed under [Supported Platforms](#supported-platforms), you can set up the toolkit manually, following these steps.
  62. 1. Download the latest MATLAB MCP server from the [MCP server release](https://github.com/matlab/matlab-mcp-core-server/releases).
  63. 2. Install the MATLAB MCP Server Toolbox by running:
  64. ```bash
  65. ./matlab-mcp-server --setup-matlab
  66. ```
  67. > **Note:** If you downloaded the binary manually from GitHub releases, the asset name includes a platform suffix that depends on the release version:
  68. >
  69. > | Platform | New asset name | Legacy asset name (pre-6/18) |
  70. > |----------|---------------|------------------------------|
  71. > | Linux x86_64 | `matlab-mcp-server-linux-x64` | `matlab-mcp-core-server-glnxa64` |
  72. > | macOS arm64 | `matlab-mcp-server-macos-arm64` | `matlab-mcp-core-server-maca64` |
  73. > | macOS x86_64 | `matlab-mcp-server-macos-x64` | `matlab-mcp-core-server-maci64` |
  74. > | Windows x86_64 | `matlab-mcp-server-windows-x64.exe` | `matlab-mcp-core-server-win64.exe` |
  75. >
  76. > Rename the downloaded file to `matlab-mcp-server` (or `matlab-mcp-server.exe` on Windows) and place it in `~/.matlab/agentic-toolkits/bin/`. The automated setup handles this automatically.
  77. 3. Connect the MATLAB MCP Server to a running MATLAB session. In the command window of the running MATLAB session, run `shareMATLABSession()`.
  78. 4. Clone the [Simulink Agentic Toolkit](https://github.com/matlab/simulink-agentic-toolkit) repository, then add toolkit flags to your agent's MCP server configuration:
  79. ```
  80. --matlab-session-mode=existing
  81. --extension-file=/path/to/simulink-agentic-toolkit/tools/tools.json
  82. ```
  83. 4. Register skills by pointing your agent's skill or prompt directory at each non-empty group under `skills-catalog/` — `model-based-design-core/`, `model-based-system-engineering/`, `verification-validation-and-test/`, `simulink-simulation/`, `simulink-modeling/`, `control-systems/`, `simulink-environment-fundamentals/`, `signal-processing/`, `physical-modeling/`, `code-generation/`, `real-time-simulation-and-testing/`, `simulink-block-and-blockset-authoring/`, and `aerospace/`. Each skill is a self-contained `SKILL.md` with a `manifest.yaml`.
  84. For platforms that discover skills from `~/.agents/skills/`, create symlinks:
  85. ```bash
  86. mkdir -p ~/.agents/skills
  87. for group in model-based-design-core model-based-system-engineering verification-validation-and-test simulink-simulation simulink-modeling control-systems simulink-environment-fundamentals signal-processing physical-modeling code-generation real-time-simulation-and-testing simulink-block-and-blockset-authoring aerospace; do
  88. for skill in /path/to/simulink-agentic-toolkit/skills-catalog/$group/*/; do
  89. ln -s "$skill" ~/.agents/skills/$(basename "$skill")
  90. done
  91. done
  92. ```
  93. ### MATLAB Setup
  94. The MATLAB MCP Server connects to a running MATLAB session. For each session, add the Simulink Agentic Toolkit to the path and initialize it.
  95. On Linux and macOS, use:
  96. ```matlab
  97. addpath("~/.matlab/agentic-toolkits/simulink")
  98. satk_initialize
  99. ```
  100. On Windows, use:
  101. ```matlab
  102. addpath(fullfile(getenv('USERPROFILE'), '.matlab', 'agentic-toolkits', 'simulink'))
  103. satk_initialize
  104. ```
  105. This does three things:
  106. 1. Adds the toolkit's tool directories to the MATLAB path
  107. 2. Calls `shareMATLABSession` so that the MATLAB MCP server can connect to running MATLAB session
  108. 3. Runs `validate_installation` to check that everything is configured correctly
  109. If you installed the MCP server binary to a non-default location (e.g., a network share), pass its path explicitly:
  110. ```matlab
  111. satk_initialize(MCPServerPath="//server/share/bin/matlab-mcp-server")
  112. ```
  113. > **Note:** `satk_initialize` must run once per MATLAB session. To run it automatically in future sessions, add the block below to your [`startup.m`](https://www.mathworks.com/help/matlab/ref/startup.html).
  114. >
  115. > **Finding or creating your `startup.m`:**
  116. >
  117. > 1. List existing startup files:
  118. > ```matlab
  119. > which('startup', '-all')
  120. > ```
  121. > 2. If any are listed, edit the **first** entry — MATLAB runs the one it finds first on the path.
  122. > 3. If none are listed, create one under `userpath`:
  123. > ```matlab
  124. > edit(fullfile(userpath, 'startup.m'))
  125. > ```
  126. > If that errors because `userpath` has multiple folders, run `userpath`, copy the first folder, and use it explicitly: `edit(fullfile('<thatFolder>', 'startup.m'))`.
  127. >
  128. > **Add this block to `startup.m`:**
  129. >
  130. > ```matlab
  131. > % Initialize the Simulink Agentic Toolkit (adjust version/path as needed)
  132. > if contains(version, 'R2026a')
  133. > if ispc
  134. > addpath(fullfile(getenv('USERPROFILE'), '.matlab', 'agentic-toolkits', 'simulink'))
  135. > else
  136. > addpath("~/.matlab/agentic-toolkits/simulink")
  137. > end
  138. > satk_initialize
  139. > end
  140. > ```
  141. ### Verify
  142. Check that your agent has loaded skills or plugins on its path (e.g., Claude Code's `/skills` command), confirm the Simulink Agentic Toolkit skills are listed. Open any Simulink model — your own, or a shipped example.
  143. ```matlab
  144. openExample('simulink_general/sldemo_househeatExample')
  145. ```
  146. This opens the shipped example model `sldemo_househeat`. Ask your agent:
  147. ```
  148. Describe the structure of the currently open model.
  149. ```
  150. ## Library Configuration
  151. ### Toolbox Libraries
  152. Use `satk.Configuration.setToolboxes` to activate pre-built knowledge bases for installed MathWorks toolboxes:
  153. ```matlab
  154. satk.Configuration.setToolboxes('all') % Activate all installed toolbox KBs
  155. satk.Configuration.setToolboxes({'Aerospace Blockset', 'Simscape'}) % Activate specific toolboxes by name
  156. satk.Configuration.setToolboxes('none') % Deactivate all toolbox KBs
  157. ```
  158. ### Custom Libraries
  159. To use your own custom Simulink block libraries with the toolkit, register them in MATLAB once:
  160. ```matlab
  161. satk.Configuration.setCustomLibraries("C:\path\to\customLibs")
  162. ```
  163. This declares your custom libraries. By default (`GenerateKB=false`), the knowledge base is **not** built immediately — on the next model-building task or on invocation of the **'setup-custom-libraries'** skill, the agent indexes the libraries into a knowledge base (~3–5 min to complete), enabling usage of custom blocks alongside built-in ones.
  164. Each entry is either a directory (every `.slx`/`.mdl` in it is registered) or a
  165. path to a single library file. To register more than one, pass a string array or
  166. a cell array:
  167. ```matlab
  168. % Multiple directories
  169. satk.Configuration.setCustomLibraries(["C:\path\to\motorLibs", "C:\path\to\sensorLibs"])
  170. % Individual library files
  171. satk.Configuration.setCustomLibraries(["C:\libs\motorLib.slx", "C:\libs\sensorLib.slx"])
  172. ```
  173. Each call **replaces** the full set of registered custom libraries rather than
  174. adding to it — list every library you want in a single call.
  175. #### Options
  176. `setCustomLibraries` accepts the following options:
  177. ```matlab
  178. % Build the knowledge base deterministically from block metadata present in the libraries.
  179. satk.Configuration.setCustomLibraries("C:\path\to\customLibs", GenerateKB=true)
  180. % Choose where the KB and configuration folder is written.
  181. % Omitted -> MATLAB prefdir (default): per-user, global, paths stored absolute.
  182. % <dir> -> an existing directory: library paths on the same drive are
  183. % stored relative to this root (so the .satk folder can be
  184. % committed and shared); paths on a different drive are stored
  185. % absolute.
  186. satk.Configuration.setCustomLibraries("libs", Location="C:\repo\myProject")
  187. ```
  188. Custom libraries anchor the location. Once you register custom libraries with
  189. a `Location`, activating toolbox knowledge bases with `setToolboxes`
  190. writes them into that same `.satk`.
  191. If you activate toolbox KBs globally first and later register custom
  192. libraries with a `Location`, the toolbox KBs are moved alongside the custom
  193. libraries automatically.
  194. ### Clearing Configuration
  195. To remove the global (prefdir) library configuration:
  196. ```matlab
  197. satk.Configuration.clearConfig()
  198. ```
  199. To remove a project-local configuration (its `.satk/` folder and any
  200. `satk-libraries.json` at the project root) — for example when a project config
  201. is shadowing the global one and you want the global config to win:
  202. ```matlab
  203. satk.Configuration.clearConfig("C:\repo\myProject")
  204. ```
  205. Both forms are destructive and not reversible.
  206. ## Update Simulink Agentic Toolkit
  207. To update the toolkit, download the latest installer add-on by clicking [agenticToolkitInstaller.mltbx](https://github.com/matlab/simulink-agentic-toolkit/releases/latest/download/agenticToolkitInstaller.mltbx). Open the downloaded file with MATLAB, and run this command in MATLAB:
  208. ```matlab
  209. setupAgenticToolkit("update")
  210. ```
  211. This updates the skills, configurations, and MCP server binary for both the MATLAB and Simulink Agentic Toolkits.
  212. ## MCP Tools
  213. After you install the Simulink Agentic Toolkit, your agent can use the following tools.
  214. | Tool | What your agent can do |
  215. |------|------------------------|
  216. | `model_overview` | Explore model architecture. Review subsystem hierarchy, interfaces, and how major components connect |
  217. | `model_read` | Understand model behavior. Inspect blocks, algorithmic expressions, signal flow, and parameter values |
  218. | `model_edit` | Build and modify models. Add blocks, wire signals, create subsystems, and configure parameters as needed |
  219. | `model_check` | Validate model structure. Detect unconnected ports, dangling lines, and Edit-Time Checks on States and Subcharts |
  220. | `model_read_diagnostics` | Read diagnostics. Retrieve errors, warnings, and info messages from the Diagnostic Viewer after compilation, simulation, or code generation |
  221. | `model_test` | Verify requirements. Run human-readable Gherkin tests with automatic harness generation *(requires Simulink Test)* |
  222. | `model_query_params` | Inspect any parameter. Query block settings, signal properties, solver config, and logging flags |
  223. | `model_resolve_params` | Get actual values. Resolve workspace variables like `Kp` to their numeric values across all scopes |
  224. | `model_scan` | Find something specific, fast. Regex-search the saved `.slx` file on disk for a block name, parameter value, or string without loading the model |
  225. ---
  226. ## Agent Skills
  227. After you install the Simulink Agentic Toolkit, your agent can use the skills in the following groups. To see lists of available skills, see [skills catalog](skills-catalog/README.md).
  228. | Skill Group | Description |
  229. |-------|---------------------------|
  230. | [Model-Based Design Core](skills-catalog/model-based-design-core/) | Core Model-Based Design (MBD) skills for building, testing, and specifying Simulink models |
  231. | [Model-Based System Engineering](skills-catalog/model-based-system-engineering/) | Model-Based System Engineering skills for System Composer architecture models |
  232. | [Verification, Validation, and Test](skills-catalog/verification-validation-and-test/) | Author custom Model Advisor checks, run compliance reviews against industry standards (MISRA, MAB, ISO 26262, DO-178C, etc.), fix SLDV incompatibilities, and explain missing coverage |
  233. | [Simulink Simulation](skills-catalog/simulink-simulation/) | Skills for constructing simulation input datasets and configuring simulation workflows |
  234. | [Simulink Modeling](skills-catalog/simulink-modeling/) | Configure and integrate C/C++ and Python code into Simulink models via C Function and Python Code blocks |
  235. | [Control Systems](skills-catalog/control-systems/) | Control system design and analysis skills for Simulink models |
  236. | [Simulink Environment Fundamentals](skills-catalog/simulink-environment-fundamentals/) | Core Simulink environment capabilities, including discovering shipped example models |
  237. | [Signal Processing](skills-catalog/signal-processing/) | Frame-based streaming DSP models in Simulink using DSP System Toolbox |
  238. | [Physical Modeling](skills-catalog/physical-modeling/) | Model, simulate, and analyze multidomain physical systems with the Simscape product family |
  239. | [Code Generation](skills-catalog/code-generation/) | Prepare Simulink models for production code generation, including single-precision conversion, optimizing generated embedded code, configuring Embedded Coder deployment settings, and customizing A2L calibration files |
  240. | [Real-Time Simulation and Testing](skills-catalog/real-time-simulation-and-testing/) | Configure, deploy, and run Simulink models on real-time target computers with Simulink Real-Time |
  241. | [Simulink Block and Blockset Authoring](skills-catalog/simulink-block-and-blockset-authoring/) | Author the appearance of custom Simulink blocks, such as dynamic SVG block icons |
  242. | [Aerospace](skills-catalog/aerospace/) | Aerospace skills for Simulink models using Aerospace Blockset |
  243. ## Security Considerations
  244. When using the Simulink Agentic Toolkit and MATLAB MCP Server, you should thoroughly review and validate all tool calls before you run them. Always keep a human in the loop for important actions and only proceed once you are confident the call will do exactly what you expect. For more information, see [User Interaction Model (MCP)](https://modelcontextprotocol.io/specification/2025-06-18/server/tools#user-interaction-model) and [Security Considerations (MCP)](https://modelcontextprotocol.io/specification/2025-06-18/server/tools#security-considerations).
  245. ## Licensing and Usage
  246. The license is available in the [LICENSE.md](LICENSE.md) file in this GitHub repository.
  247. MCP servers are only permitted to be used with MATLAB and Simulink in accordance with the MathWorks Software License Agreement, and must not be shared by multiple users. Contact MathWorks if you need to support shared or centralized server use.
  248. ## Research Preview: Agentic Task Explorer
  249. The Agentic Task Explorer provides curated, multi-step tasks that show what agents can do with Simulink — model understanding, creation, modification, testing, bug fixing, and verification. Each task includes Simulink models and supporting files, ready to go.
  250. ```matlab
  251. slAgenticTaskExplorer
  252. ```
  253. Select a task from the interactive UI. The explorer stages it into an isolated workspace with all required files, then opens your coding agent. Each task presents step-by-step prompts — copy each prompt into your coding agent and watch it work.
  254. *This is a research preview. Behavior and interfaces might change.*
  255. ---
  256. ## Report Bugs
  257. If you encounter a bug, use the **filing-bug-reports** skill to generate a report before opening a GitHub issue. Ask your agent:
  258. ```
  259. File a bug report for this issue
  260. ```
  261. The skill automatically captures environment details, reproduction steps, and error output. **Run the skill in the same session where the bug occurred**, because it uses conversation context to reconstruct what happened. Then [open a bug report](https://github.com/matlab/simulink-agentic-toolkit/issues/new?template=bug_report.yml) and paste the generated report.
  262. ---
  263. ## Support and Contributions
  264. MathWorks encourages you to use this repository and provide feedback. To request technical support or submit an enhancement request, [create a GitHub issue](https://github.com/matlab/simulink-agentic-toolkit/issues) or [contact technical support](https://www.mathworks.com/support/contact_us.html). For MATLAB MCP Server issues, see the [MATLAB MCP Server](https://github.com/matlab/matlab-mcp-core-server) repository.
  265. Pull requests are not enabled on this repository. See [CONTRIBUTING.md](CONTRIBUTING.md) for details.
  266. Copyright 2025-2026 The MathWorks, Inc.

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.