Main Content

outLinks

Get outgoing links for justifications

Syntax

myLinks = outLinks(jt)

Description

myLinks = outLinks(jt) returns the outgoing links for the justification jt.

Input Arguments

expand all

Justification, specified as an slreq.Justification object.

Output Arguments

expand all

Outgoing links for the justification, returned as an slreq.Link array.

Examples

expand all

This example shows how to get outgoing links for justifications.

Load the requirement set crs_req_justs.

rs = slreq.load("crs_req_justs");

Find the justification with Index set to 5.2.

jt = find(rs,Index=5.2);

Get the outgoing links for the justification.

myLinks = outLinks(jt);

Tips

  • To get the outgoing links for a requirement, use the outLinks method of slreq.Requirement. To get the outgoing links for a referenced requirement, use the outLinks method of slreq.Reference.

  • The links for justification objects are always outgoing.

Alternative Functionality

App

You can also use the Requirements Editor to view outgoing links. Select a justification. In the right pane, under Links, the outgoing links icon indicates outgoing links.

Version History

Introduced in R2018b