Main Content

outLinks

Get outgoing links for Requirements Table block rows

Since R2026a

Description

myLinks = outLinks(row) returns the outgoing links for the Requirements Table block row, row.

example

Examples

collapse all

This example shows how to get the outgoing links for Requirements Table block rows.

Get the RequirementsTable object for the Requirements Table block in the myModel model.

table = slreq.modeling.find("myModel");

Get the first requirement row in the RequirementsTable object.

rows = getRequirementRows(table);
reqRow = rows(1);

Get the outgoing links for the requirement row.

myLinks = inLinks(reqRow);

Input Arguments

collapse all

Requirement row in the Requirements Table block, specified as a RequirementRow object.

Output Arguments

collapse all

Outgoing links, returned as an slreq.Link array.

Version History

Introduced in R2026a