User`s guide
Remove Traceability Links from MATLAB Code Lines
8-5
Remove Traceability Links from MATLAB Code Lines
In this section...
“Delete Links to Requirements from MATLAB Code Lines” on page 8-5
“Delete Link Targets in MATLAB Code Lines” on page 8-5
Delete Links to Requirements from MATLAB Code Lines
To remove requirements traceability links from a line or lines of MATLAB code:
1
In the MATLAB Editor, right-click within a range of code that has requirements
traceability links.
2
From the context menu, select Requirements Traceability > Delete All Links.
All links to requirements from this MATLAB code range are deleted. Links to this
MATLAB code range from external requirements documents are not deleted.
Delete Link Targets in MATLAB Code Lines
If you have links to MATLAB code ranges from external requirements documents, you
can delete the targets for these links from your MATLAB code.
To remove requirements traceability targets from a line or lines of MATLAB code, after
you have deleted its outgoing links as described in the previous section:
1
In the MATLAB Editor, right-click within a previously linked range of code.
2
From the context menu, select Requirements Traceability > Discard Named
Range.
When you discard a named range, links to that MATLAB code range from external
documents no longer work. Note, however, that this does not delete navigation
objects in external requirements documents.