Create requirement links to establish traceability to model elements, test cases, test harnesses, MATLAB® code lines, data dictionaries, Stateflow® elements, System Composer™ architecture models, and other requirements. Specify the link type to convey the nature of the relationship, such as a model element that implements a functional requirement or a test harness that verifies a test specification requirement. Create custom requirement and link types to extend the default linking capabilities.
Use the Requirements Editor to create and view links, and use the Requirements Perspective to view requirements in the model context.
|Requirements Editor||Create and edit requirements|
|Profile Editor||Create and manage profiles with stereotypes and properties|
|Work with link sets|
|Work with link objects|
|Set requirement link destination|
|Set requirement link source|
|Clear requirements and links from memory|
|Close Requirements Manager app in model|
|Set version of linked requirements documents|
|Get configured version of linked requirements documents|
|Create traceable links|
|Create line ranges|
|Find requirement, reference, and link set artifacts|
|Retrieve link sets with incoming links to requirement set|
|Retrieve incoming link type label|
|Retrieve outgoing link type label|
|Create a traceability diagram|
|Create traceability matrix|
|Get navigation URL for link source or destination, requirement, test or Simulink model element|
|Get line ranges|
|Create options structure for traceability matrix|
|Get incoming links for requirement or other linkable item|
|Load requirement set or link set|
|Open Requirements Manager app in model|
|Get outgoing links for a block or other linkable item|
|Register Requirements Toolbox customizations|
|Navigate to link source or destination|
|Convert link source or destination information from structure to model object type|
- Create and Store Links
Trace requirements to design and test items by creating links.
- Link Blocks and Requirements
Associate requirements with elements in your model by using the Simulink® canvas.
- Link Test Cases to Requirements
Associate test cases with requirements.
- Requirements Traceability for MATLAB Code
Associate requirements with MATLAB code and plain-text external code, such as C code.
- Link from Sequence Diagrams
Create links from model elements in sequence diagrams to requirements.
Trace Requirements to Generated Code
- Requirements Traceability for Code Generated from MATLAB Code
Include comments in generated code that contain information about requirement links to MATLAB code.
- Generate Code for Models with Requirements Links
Set configuration parameters so that information about requirements links is included in the generated code.
- Define Custom Requirement and Link Types and Properties
Customize requirements and links by using custom types and custom attributes, or stereotypes.
Visualize, Manage, and Troubleshoot Links
- Load and Resolve Links
Load link sets by loading artifacts and resolve links.
- Track Requirement Links with a Traceability Matrix
Track and manage links and change issues with the Traceability Matrix.
- Visualize Links with Traceability Diagrams
Visualize the traceability structure of requirements and other Model-Based Design items with traceability diagrams.
- Assess Allocation and Impact
Assess the allocation of requirements and impact of changes.
- Requirements Consistency Checks
Check for missing or unresolved links.
Link with Third-Party Applications
- Link to Requirements in Microsoft Word Documents
Link from requirements in a Word document to Simulink blocks.
- Link to Requirements in Microsoft Excel
Create links from requirements managed in Microsoft® Excel® to design and test items in MATLAB and Simulink.
- Link and Trace Requirements with IBM DOORS Next
Link to requirements in IBM® DOORS® Next.
- Manage Navigation Backlinks in External Requirements Documents
Insert hyperlinks to navigate from requirements documents to model elements in Simulink.