Products & Services Solutions Academia Support User Community Company

Learn more about Model-Based Calibration   

Designs - Designs in test plan

Syntax

D = T.Designs

Description

Designs is a property of mbcmodel.testplan.

D = T.Designs returns a cell array of designs in the test plan, T, one element for each level.

When using designs at the command line, designs are treated as an array. In the Design Editor you can build a design tree, where child designs inherit characteristics such as constraints from the parent design. At the command line you can copy and modify designs. By default, designs are added to the top level of the design tree. To build tree structures at the command line, you can use the Parent argument of the AddDesign method to specify the parent design in the design tree. The tree structure cannot be used at the command line any further, but you can use the design tree in the Design Editor after you load the project into the Model Browser.

Examples

To get local designs only:

LocalDesigns = T.Designs{1}

To get global designs only:

GlobalDesigns = T.Designs{2}

To get the fifth global design:

D = T.Design {2}(5)

After modifying the design, you must call UpdateDesign, or reassign to the test plan as follows:

T.Design {2}(5) = D

See Also

UpdateDesign

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS