Main Content

showRequirementColumn

Show columns in Requirements tab

Description

example

showRequirementColumn(reqTable,column) shows the column type specified by column in the Requirements tab of the Requirements Table block, reqTable.

Examples

collapse all

Find the Requirements Table block in a model by using slreq.modeling.find.

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

Show the Postcondition columns in the Requirements tab.

showRequirementColumn(reqTable,"Postconditions");

Input Arguments

collapse all

Requirements Table block, specified as a RequirementsTable object.

Column type to be shown, specified as "Duration", "Actions", or "Postconditions". Use this argument to show the Duration, Action, or Postcondition columns, respectively.

Data Types: enumerated

Version History

Introduced in R2022a