Main Content

slreq.modeling.create

Create new model with Requirements Table block

Since R2022a

Description

reqTable = slreq.modeling.create creates an untitled model that contains a Requirements Table block.

reqTable = slreq.modeling.create(model) creates a model with the name specified by model.

example

Examples

collapse all

Create a new model that contains a Requirements Table block.

reqTable = slreq.modeling.create;

The function returns reqTable as a RequirementsTable object.

Create a new model named myModel that contains a Requirements Table block.

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

The function returns reqTable as a RequirementsTable object.

Input Arguments

collapse all

Model name, specified as a string scalar or character vector.

Data Types: char | string

Output Arguments

collapse all

Requirements Table block, returned as a RequirementsTable object.

Version History

Introduced in R2022a