Requirements Traceability

Link requirements and model elements, specify relationships, add markup, review traceability to models and code, check consistency

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. Create custom requirement and link types to extend the default linking capabilities.

Use the Requirements Perspective View to view requirement details of design elements on the Simulink® Editor.

Classes

slreq.LinkSet Work with link sets
slreq.Link Work with link objects

Methods

setDestination Set requirement link destination
setSource Set requirement link source

Functions

slreq.clearClear requirements and links from memory
slreq.createLinkCreate traceable links
slreq.findFind requirement, reference, and link set artifacts
slreq.loadLoad requirements/link set
slreq.cmConfigureVersionSet version of linked requirements documents
slreq.cmGetVersionGet configured version of linked requirements documents

Topics

Link Blocks and Requirements

Associate requirements with your Simulink blocks using the Simulink canvas.

Link to Test Cases from Requirements

Associate test cases with requirements.

Requirement Links

Specify how requirements are related to Simulink blocks, Stateflow objects, generated code, and to each other.

Define Custom Requirement and Link Types

Create and define custom requirement and link types.

Manage Navigation Backlinks in External Requirements Documents

Insert hyperlinks to navigate from requirements documents to model elements in Simulink.

Requirements Traceability for MATLAB Code Lines

Create, manage, and navigate traceability links between lines in MATLAB code files and requirements information in external documents.

Requirements Consistency Checks

Check your requirements set for missing or unresolved links.

Featured Examples