Get Started with Requirements Toolbox
Requirements Toolbox™ lets you author, link, and validate requirements within MATLAB® or Simulink®. You can create requirements using rich text with custom attributes or import them from requirements management tools.
You can link requirements to MATLAB code, System Composer™ or Simulink models, and tests. The toolbox analyzes the traceability to identify gaps in implementation or testing. The design highlighting and traceability matrix summarize where links exist across multiple artifacts and guide you to address any gaps. When requirements change, linked artifacts are highlighted, and you can determine the upstream and downstream artifacts affected using a traceability diagram. Generated code from Simulink designs includes code comments that document where requirements are implemented to assist with reviews.
You can formalize requirements and analyze them for consistency, completeness, and correctness using the Requirements Table. The Requirements Perspective enables you to view and manage requirements together with design. When used with Simulink, you can create links to blocks with a simple drag and drop.
- STEP 1: Author Requirements for MATLAB Function
- STEP 2: Link Requirements to MATLAB Code
- STEP 3: Import Requirements from Test Specifications
- STEP 4: Track Requirements Implementation Progress
- STEP 5: Track Requirements Verification Progress
- STEP 6: Identify and Address Traceability Gaps
- STEP 7: Track Changes to Requirements
- View and Link Requirements in Simulink
Use the Requirements Perspective to link elements in Simulink models to requirements.
- Link Test Cases to Requirements
Associate Simulink Test™ test cases with requirements.
- Author, Import, Link, and Justify Requirements Programmatically
Use the Requirements Toolbox API to author, import, link, and justify requirements.
Author, link, import, and verify requirements while developing a MATLAB function.
What Is Requirements Toolbox?
You can use Requirements Toolbox to author, import, and validate requirements in MATLAB and Simulink, track their implementation and verification status, and quickly respond to requirements changes.
Work with Requirements and Design Using Requirements Perspective
The Requirements Perspective provides a single view where you can view, author, and organize requirements while also performing your design activities in Simulink, System Composer, or Stateflow®.