Agent skill · Testing & QA

testing-simulink-models

Tests Simulink models using either ephemeral Gherkin-based tests (model_test) for quick validation or persistent tests (Simulink Test API) authored from requirements or behavioral specs. Requires Simulink Test.

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

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

Facts
Files in the skill folder: 25
SKILL.md size: 6 KB
Bundled scripts: none
Version: 2.0
Declared author: MathWorks
Path: skills-catalog/verification-validation-and-test/testing-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

# Testing Simulink Models Requires **Simulink Test** and **R2023a or later**. The requirement-driven entry point also requires **Requirements Toolbox**. The coverage workflow also requires **Simulink Coverage**. If Simulink Test is unavailable, use `simulating-simulink-models` with manual assertions. ## When to Use - Writing pass/fail tests for a Simulink model or subsystem - Verifying expected behavior against requirements or acceptance criteria - Creating regression tests to catch future breakage - Reproducing and validating bug fixes with structured assertions - Collecting decision coverage metrics - Authoring persistent tests from linked requirements or a behavioral spec ## When NOT to Use - **Building or editing model structure** → use `building-simulink-models` - **Running simulations for data exploration, sweeps, or custom analysis** → use `simulating-simulink-models` - **Querying or resolving parameter values** → use `model_query_params` / `model_resolve_params` - **Creating or editing requirements** → use `generate-requirement-drafts` - **Injecting faults onto model signals without test authoring** → use `inject-faults` - **FMEA, FHA, FTA, or other safety analysis document

What's inside
Steps it walks through
  1. When to Use
  2. When NOT to Use
  3. Testing Approaches
  4. Workflow — Gherkin (Quick Validation)
  5. Workflow — Simulink Test API (Persistent)
  6. Guardrails
  7. Always
  8. Never
  9. References
Ships with 24 files
  • manifest.yaml
  • references/assessment-format.md
  • references/gherkin-based-fast-testing.md
  • references/simulink-test-authoring.md
  • references/test-config-template.md
  • references/test-structure-template.md
  • scripts/+vnv/+internal/+agentic/+common/+format/formatError.p
  • scripts/+vnv/+internal/+agentic/+common/+format/formatMetadata.p
  • scripts/+vnv/+internal/+agentic/+common/+format/formatTestCase.p
  • scripts/+vnv/+internal/+agentic/+common/+format/formatTestFile.p
  • scripts/+vnv/+internal/+agentic/+common/+format/formatTestSuite.p
  • scripts/+vnv/+internal/+agentic/+common/+requirements/linkRequirements.p
  • scripts/+vnv/+internal/+agentic/+common/+requirements/readRequirements.p
  • scripts/+vnv/+internal/+agentic/+helpers/AssessmentBuilder.p
  • scripts/+vnv/+internal/+agentic/+helpers/readResults.p
  • scripts/+vnv/+internal/+agentic/+helpers/resolveComponent.p
  • scripts/+vnv/+internal/+agentic/+helpers/sanitizeDescription.p
  • scripts/+vnv/+internal/+agentic/+helpers/setParameterOverrides.p
  • scripts/+vnv/+internal/+agentic/+helpers/setSimConfig.p
  • scripts/+vnv/+internal/+agentic/+helpers/widenToHarnessOwner.p
  • scripts/+vnv/+internal/+agentic/test_create.p
  • scripts/+vnv/+internal/+agentic/test_edit.p
  • scripts/+vnv/+internal/+agentic/test_read.p
  • scripts/+vnv/+internal/+agentic/test_run.p
first 24 of 25
More from simulink-agentic-toolkit
All skills →
About this skill
What does the testing-simulink-models skill do?

Tests Simulink models using either ephemeral Gherkin-based tests (model_test) for quick validation or persistent tests (Simulink Test API) authored from requirements or behavioral specs. Requires Simulink Test.

How do I install it?

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