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.


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


setDestination Set requirement link destination
setSource Set requirement link source


slreq.clearClear requirements and links from memory
slreq.createLinkCreate traceable links
slreq.findFind requirement, reference, and link set artifacts
slreq.inLinksGet incoming links for requirement or other linkable item
slreq.outLinksGet outgoing links for a block or other linkable item
slreq.showNavigate to link source or destination
slreq.structToObjConvert link source or destination information from structure to model object type
slreq.loadLoad requirements/link set
slreq.cmConfigureVersionSet version of linked requirements documents
slreq.cmGetVersionGet configured version of linked requirements documents


Link Blocks and Requirements

Associate requirements with your model 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.

Track Requirement Links with a Traceability Matrix

Use the Traceability Matrix Generator to track how requirements are linked to blocks in your Simulink model.

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 for missing or unresolved links.

Featured Examples