| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Model-Based Calibration |
| Contents | Index |
| Learn more about Model-Based Calibration |
D = CreateDesign(Testplan)
D = CreateDesign(Testplan,Level)
D = CreateDesign(Testplan,Level,prop1,value1,...)
D = CreateDesign(Model)
D = CreateDesign(Model,prop1,value1,...)
D = CreateDesign(Inputs)
D = CreateDesign(Inputs,prop1,value1,...)
D = CreateDesign(Design)
CreateDesign is a method of mbcmodel.testplan, mbcmodel.model, and mbcmodel.modelinput. Property value pairs can be specified at creation time. The property value pairs are properties of mbcdoe.design.
Properties of mbcdoe.design
| mbcdoe.design Property | Description |
|---|---|
| Constraints | Constraints in design. |
| Generator | Design generation options. |
| Inputs | Inputs for design. |
| Model | Model for design. |
| Points | Matrix of design points. |
| PointTypes | Fixed and free point status. |
| Style | Style of design type. |
| NumberOfInputs | Read-only — Number of model inputs. |
| NumberOfPoints | Read-only — Number of design points. |
| Type | Design type. The design property Type can only be specified with CreateDesign and is subsequently read-only for design objects. |
D = CreateDesign(Testplan) creates a design for the test plan, where Testplan is an mbcmodel.testplan object.
D = CreateDesign(Testplan,Level) creates a design for the specified level of the test plan. By default the level is the outer level (i.e., Level 1 for one-stage, Level 2 (global) for two-stage).
If you do not specify any properties, the method creates a default design type. The default design types are a Sobol Sequence for two or more inputs, and a Full Factorial for a single input.
D = CreateDesign(Testplan,Level,prop1,value1,...) creates a design with the specified properties.
D = CreateDesign(Model) creates a design based on the inputs of the mbcmodel.model object, Model.
D = CreateDesign(Model,prop1,value1,...) creates a design with the specified properties based on the inputs of the model.
D = CreateDesign(Inputs) creates a design based on the inputs of the mbcmodel.modelinput object, Inputs.
D = CreateDesign(Inputs,prop1,value1,...) creates a design with the specified properties based on the inputs.
D = CreateDesign(Design) creates a copy of an existing design.
To create a space-filling design for a test plan TP:
sfDesign = CreateDesign(TP, ...
'Type', 'Latin Hypercube Sampling',...
'Name', 'Space Filling');Create an optimal design based on the inputs of a model:
optimalDesign = CreateDesign( model,...
'Type', 'V-optimal',...
'Name', 'Optimal Design' );Create a classical full factorial design based on the inputs defined by a mbcmodel.modelinput object:
design = CreateDesign( inputs, 'Type', 'Full Factorial' );
Create a new design based on an existing design (ActualDesign) in order to augment it:
augmentedDesign = ActualDesign.CreateDesign('Name',...
'Augmented Design');Create a local level design for the two-stage test plan TP:
localDesign = TP.CreateDesign(1,'Type',... 'Latin Hypercube Sampling');
Create a global level design for the two-stage test plan TP:
globalDesign = TP.CreateDesign(2, 'Type',... 'Latin Hypercube Sampling');
![]() | CreateData | CreateModel | ![]() |

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 |