Main Content

inLinks

Get incoming links for Requirements Table block rows

Since R2026a

Description

myLinks = inLinks(row) returns the incoming links for the Requirements Table block row, row.

example

Examples

collapse all

This example shows how to get the incoming 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 requirement row in the RequirementsTable object.

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

Get the incoming 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

Incoming links, returned as an slreq.Link array.

Version History

Introduced in R2026a