Agent skill · Data & Analytics

simulating-simulink-models

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).

matlabgithub.com/matlabGitHub ↗
claude-codecodexcopilotNOASSERTION
Install
npx skills add matlab/simulink-agentic-toolkit --skill simulating-simulink-models --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 5 KB
Bundled scripts: none
Version: 1.1
Declared author: MathWorks
Path: skills-catalog/model-based-design-core/simulating-simulink-models/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 903
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Simulating Simulink Models with the sim Command Use this skill to generate simulation results for analysis. For persistent, reusable pass/fail behavioral testing (especially of individual subsystems), use `testing-simulink-models` instead. ## When to Use - Running a Simulink model from a MATLAB script - Configuring simulation parameters (StopTime, solver, etc.) programmatically - Passing input signals to root-level Inport blocks - Accessing logged signal data after simulation - Running parameter sweeps or batch simulations ## When NOT to Use - Writing declarative Gherkin-based tests → use `testing-simulink-models` - Testing an individual subsystem or component → use `testing-simulink-models` (requires Simulink Test; auto-creates a harness, compiles only the subsystem — much faster than `sim()` which always compiles the entire model) ## Minimal working pattern Always simulate using `Simulink.SimulationInput` and `Simulink.SimulationOutput`: ```matlab in = Simulink.SimulationInput('MyModel'); in = in.setModelParameter('StopTime', '10'); out = sim(in); ``` ## Setting parameters Use `SimulationInput` methods to configure the simulation: ```matlab % Model-level parameters (StopTime, S

What's inside
Steps it walks through
  1. When to Use
  2. When NOT to Use
  3. Minimal working pattern
  4. Setting parameters
  5. Input signals
  6. Discovering logged data
  7. Accessing logged data
  8. Multiple simulations
  9. Parallel simulation (parsim)
  10. Guardrails
Ships with 1 file
  • manifest.yaml
More from simulink-agentic-toolkit
All skills →
About this skill
What does the simulating-simulink-models skill do?

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).

How do I install it?

Run `npx skills add matlab/simulink-agentic-toolkit --skill simulating-simulink-models --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From matlab/simulink-agentic-toolkit, a repository with 903 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going