Main Content

hideRequirementColumn

Hide columns in Requirements tab

Description

example

hideRequirementColumn(reqTable,column) hides the column type specified by column in the Requirements tab of the Requirements Table block, reqTable. The column type must be empty.

Examples

collapse all

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

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

Hide the Postcondition columns in the Requirements tab.

hideRequirementColumn(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