Install any skill in seconds. Free to start, no credit card required.
Get Started Free →matlab/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.
Passed 16 of 19 test cases with the skill, and 5 of 19 without it.
and 12 more in the full report
12 fixed6 passed either way4 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 12 test cases the skill fixed. Same model, same prompt, with and without the skill.
I need to add a PID controller block and an analog filter to `EngineControl.slx` and connect the sensor signal to the filter input. Please update the block diagram connections.
| Checked | Without skill | With skill |
|---|---|---|
| Refuses to modify model architecture or block connections in a test authoring context | Missed | Passed |
| Directs the task to model building workflows | Passed | Passed |
The instructions your model reads when the skill loads.
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.
building-simulink-modelssimulating-simulink-modelsmodel_query_params / model_resolve_paramsgenerate-requirement-draftsinject-faultsmanage-safety-analysissimulating-simulink-models with manual assertionsThis skill provides two testing approaches. Choose based on task context:
Gherkin (model_test) | Simulink Test API (test_create family) | |
|---|---|---|
| Persistence | Ephemeral — harness discarded after session | Persistent — .mldatx files remain in project |
| Speed | ~3s (draft mode) | ~60s (full Simulink Test infrastructure) |
| Traceability | None | Full requirement linking via .slreqx |
| Use case | Bug fixes, quick validation, agentic loop | Certification, systematic testing, formal V&V; also takes behavioral specs |
| Approval needed | No | Yes — engineer reviews test plan before execution |
| Coverage | coverage parameter ('none' or 'decision') | Via test_run options |
| Toolbox | Simulink Test | Simulink Test (+ Requirements Toolbox for requirement path) |
→ For Gherkin testing, read references/gherkin-based-fast-testing.md
→ For Simulink Test API authoring (requirements / behavioral spec), read references/simulink-test-authoring.md
test cases passed, vs 5 / 19 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.