主要内容

AddDesign

Add design to test plan

Description

DObjMod = AddDesign(TPObj,DObj) adds the design object, DObj, to the test plan, TPObj.

example

DObjMod = AddDesign(TPObj,Level,DObj) adds a design to the test plan and specifies the level, Level.

DObjMod = AddDesign(TPObj,Level,DObj,Parent) adds a child design to the test plan.

Examples

collapse all

Add three designs to the test plan global (2) level.

D = AddDesign(TP, [sfDesign, parkedCamsDesign, mainDesign])

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.

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