Agent skill · Testing & QA

create-sdi-run

Import data into the Simulation Data Inspector (SDI) from MAT, CSV, or Excel files, from workspace variables, or from a Simulink simulation. Use when the user wants to view a logged file in SDI, load a bench-test log, or verify what a just-completed `Simulink.sdi.createRun` or `sim(model)` produced. Covers the `'file'`, `'vars'`, and `'namevalue'` sources of `createRun`, the auto-populate behavior after `sim()`, and post-import verification. Not for comparing existing runs (use `Simulink.sdi.compareRuns`); not for streaming data live during a running simulation (use `Simulink.sdi.createRunOrAd

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

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

Facts
Files in the skill folder: 4
SKILL.md size: 15 KB
Bundled scripts: none
Version: 1.0
Declared author: MathWorks
Path: skills-catalog/simulink-simulation/create-sdi-run/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

# Create SDI Run Get data into the Simulation Data Inspector using the shortest path that works. Most agents reflexively read files into the workspace and rebuild signals by hand; this skill teaches the direct paths and when each applies. ## When to Use - User has a `.mat`, `.csv`, or `.xlsx` file of logged data and wants to view it in SDI. - User just ran `sim(model)` and wants to see the logged signals. - User has `timeseries`, `timetable`, or `Simulink.SimulationData.Dataset` variables in the workspace and wants an SDI run. - User asks about `Simulink.sdi.createRun`, `Simulink.sdi.getAllRunIDs`, or `Simulink.sdi.getRun`. ## When NOT to Use - Comparing two existing runs — that is a distinct workflow (`Simulink.sdi.compareRuns`). - **Streaming data live during a running simulation** — this is a separate API (`Simulink.sdi.createRunOrAddToStreamedRun`), not a mode of `createRun`. Prompts like "stream data into SDI while my sim is running" belong to that API. Do not activate on those. - Files in MDF (`.mf4`), ULG, ROS bag, CAN log, or HDF5 formats — see [references/format-support.md](references/format-support.md) for what SDI reads natively vs. what needs a different toolbox. - Cust

What's inside
Steps it walks through
  1. When to Use
  2. When NOT to Use
  3. Workflow
  4. 1. Is the data already in SDI?
  5. 2. Is the data in a file?
  6. 3. Is the data in workspace variables?
  7. 4. Verify the run
  8. Key Functions
  9. Patterns
  10. Pattern: MAT file → SDI (one line)
  11. Pattern: CSV file → SDI (try 'file', catch, fall back)
  12. Pattern: Excel with multiple sheets → one run per sheet
  13. Pattern: Post-sim — just open SDI
  14. Pattern: Rename workspace signals
Ships with 3 files
  • manifest.yaml
  • references/createrun-signatures.md
  • references/format-support.md
More from simulink-agentic-toolkit
All skills →
About this skill
What does the create-sdi-run skill do?

Import data into the Simulation Data Inspector (SDI) from MAT, CSV, or Excel files, from workspace variables, or from a Simulink simulation. Use when the user wants to view a logged file in SDI, load a bench-test log, or verify what a just-completed `Simulink.sdi.createRun` or `sim(model)` produced. Covers the `'file'`, `'vars'`, and `'namevalue'` sources of `createRun`, the auto-populate behavior after `sim()`, and post-import verification. Not for comparing existing runs (use `Simulink.sdi.compareRuns`); not for streaming data live during a running simulation (use `Simulink.sdi.createRunOrAd

How do I install it?

Run `npx skills add matlab/simulink-agentic-toolkit --skill create-sdi-run --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