Main Content

getAssumptionRows

Retrieve assumptions in Requirements Table block

Description

example

assumptionRows = getAssumptionRows(reqTable) returns the assumptions 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 assumptions as an array of AssumptionRow objects.

row = getAssumptionRows(table);

Input Arguments

collapse all

Requirements Table block, specified as a RequirementsTable object.

Output Arguments

collapse all

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

Version History

Introduced in R2022a