generate-requirement-drafts

Generate draft requirements from Simulink models as .slreqx or .yaml files.

917|94|Updated Apr 15, 2026
One-click install
npx skills add https://github.com/matlab/simulink-agentic-toolkit --skill generate-requirement-drafts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-requirement-drafts
Source: https://github.com/matlab/simulink-agentic-toolkit/tree/main/skills-catalog/model-based-design-core/generate-requirement-drafts
Command: npx skills add https://github.com/matlab/simulink-agentic-toolkit --skill generate-requirement-drafts

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires model_overview, model_read, model_query_params, model_resolve_params, evaluate_matlab_code, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the generation of draft requirements from Simulink models, streamlining the process of drafting or updating requirement artifacts.

Core Features & Use Cases

  • Automated Drafting: Generate draft requirements automatically from Simulink models.
  • Artifact Creation: Creates .slreqx or .yaml requirement artifacts.
  • Traceability: Establishes model-to-requirement traceability.
  • Use Case: Use this Skill to create draft requirements for a Simulink model, such as an automotive system, and generate structured .slreqx or .yaml files.

Quick Start

To generate draft requirements from a Simulink model named 'automotive_system', use the following command: generate-requirement-drafts -model 'automotive_system'

Frequently Asked Questions about generate-requirement-drafts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate requirements from a Simulink model?

To generate draft requirements from a Simulink model, use an automated tool that analyzes model architecture and outputs structured `.slreqx` or `.yaml` artifact files. This creates baseline requirement sets with direct model-to-requirement traceability.

Can I create traceability links between Simulink models and requirements?

Yes, generating draft requirements from Simulink models automatically establishes model-to-requirement traceability. The process creates `.slreqx` or `.yaml` files that link requirement artifacts directly to corresponding elements within the model.

Do I need the Requirements Toolbox to generate requirement artifacts from Simulink?

The Requirements Toolbox is optional for creating requirement artifacts from Simulink models. The generation process handles `.slreqx` or `.yaml` creation and traceability independently, but utilizing the Requirements Toolbox provides integrated management within the MATLAB environment.

What file formats are supported when exporting requirements from a model-based design?

When exporting requirements from a model-based design, the supported file formats are `.slreqx` and `.yaml`. These formats store the auto-generated requirement drafts and maintain structural traceability to the original Simulink model.

How do I automate requirement drafting for an automotive system in Simulink?

Automate requirement drafting for an automotive system in Simulink by executing a generation command with the model name. This automatically analyzes the model architecture and outputs structured `.slreqx` or `.yaml` requirement files with traceability.

What tools are required to extract requirements from a Simulink model?

Extracting requirements from a Simulink model requires model reading, parameter querying, resolving, and code evaluation tools. These dependencies analyze the model architecture and execute the logic needed to generate structured draft requirement artifacts.