Main Content

getRequirementRows

Retrieve requirements in Requirements Table block

Description

example

RequirementRows = getRequirementRows(reqTable) returns the requirements of the Requirements Table block specified by reqTable.

Examples

collapse all

Retrieve the RequirementsTable object from a model named myModel.

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

Retrieve the requirements as an array of RequirementRow objects.

row = getRequirementRows(table);

Input Arguments

collapse all

Requirements Table block, specified as a RequirementsTable object.

Output Arguments

collapse all

Requirements in the Requirements Table block, returned as an array of RequirementRow objects.

Version History

Introduced in R2022a