主要内容

RemoveDesign

Remove design from test plan

Description

DObjMod = RemoveDesign(TPObj,DObj) removes the design, DObj, from the test plan, TPObj.

DObjMod = RemoveDesign(TPObj,Level,DObj) removes a design at the specified level, Level.

DObjMod = RemoveDesign(TPObj,Parent,DObj) removes the child design from the test plan.

DObjMod = RemoveDesign(TPObj,Name) removes a design with the matching name, Name, from the test plan.

DObjMod = RemoveDesign(TPObj,Level,Name) removes a design with a matching name from the specified level of the test plan.

Input Arguments

collapse all

Test plan, specified as a project object.

Design objects in test plan, specified as a n-by-1 array, where n is the number of designs.

Test plan level, specified as a scalar. By default, the level is the outer level: 1 for one-stage designs and 2 (global) for two-stage designs.

Parent design in design tree, specified as a mbcdoe.design object. By default, designs are added to the top level of the design tree.

Data name, specified as character vectors.

Data Types: string

Output Arguments

collapse all

Modified design objects in test plan, returned as a n-by-1 array of mbcdoe.design design objects, where n is the number of designs.

Version History

Introduced in R2008a