主要内容

BoundaryModel

Get boundary model from test plan

Description

Best = BoundaryModel(TPObj) returns the best boundary model for the test plan, TPObj.

example

Best = BoundaryModel(TPObj,Type) is the best boundary model for the specified type, Type, associated with the test plan.

Examples

collapse all

Load boundary constraints from another project file and add the constraints to the design.

otherProject = mbcmodel.LoadProject( [matlabroot,...
'\toolbox\mbc\mbctraining\Gasoline_project.mat']);
boundaryConstraints = otherProject.Testplans(1).Boundary.Global.BestModel
Design.Constraints = boundaryConstraints;

When you add the constraints to the design, the boundary model object converts to an mbcdoe.designconstraint object.

Input Arguments

collapse all

Test plan, specified as a project object.

Best boundary model for the test plan type, specified as:

  • 'all': Best boundary model for all inputs

  • 'local': Best local boundary model

  • 'global': Best global boundary model

Output Arguments

collapse all

Best boundary model for test plan, returned as boundary model objects. Best is a boundary model subclass of mbcboundary.AbstractBoundary: mbcboundary.Model, mbcboundary.Boolean, mbcboundary.PointByPoint, or mbcboundary.TwoStage.

Note

Before release 2009b, BoundaryModel returned an mbcdoe.designconstraint object. Use designconstraint to convert a boundary to a design constraint.

Version History

Introduced in R2008a