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.
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.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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
- When to Use
- When NOT to Use
- Testing Approaches
- Workflow — Gherkin (Quick Validation)
- Workflow — Simulink Test API (Persistent)
- Guardrails
- Always
- Never
- References
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.
