Function Reference


Object CreationFunctions to construct data, model and project objects; load projects; and find data file types.
Data ManipulationProperties and methods for data objects
ProjectsProperties and methods for project objects
Test PlansProperties and methods for test plan objects
DesignsProperties and methods for design objects
ModelsProperties and methods for model objects

Object Creation

CreateDataCreate data object
CreateModelCreate new model
CreateProjectCreate project object
DataFileTypesData file types
LoadProjectLoad mbcmodel.project
modelinputCreate modelinput object

Data Manipulation

Data PropertiesExamine data objects
Data MethodsWork with data objects

Data Properties

FiltersStructure array holding user-defined filters
IsBeingEditedBoolean signaling if data or model is being edited
IsEditableBoolean signaling whether data is editable
NameName of object
NumberOfRecordsTotal number of records in data object
NumberOfTestsTotal number of tests being used in model
OwnerObject from which data was received
RecordsPerTestNumber of records in each test
SignalNamesNames of signals held by data
SignalUnitsNames of units in data
TestFiltersStructure array holding user-defined test filters
UserVariablesStructure array holding user-defined variables

Data Methods

AddFilter Add user-defined filter to data set
AddTestFilterAdd user-defined test filter to data set
AddVariableAdd user-defined variable to data set
AppendAppend data to data set
BeginEditBegin editing session on data object
CommitEditUpdate temporary changes in data
DefineNumberOfRecordsPerTestDefine exact number of records per test
DefineTestGroupsDefine rule-based test groupings
ExportToMBCDataStructureExport data to MBC data structure
ImportFromFileLoad data from file
ImportFromMBCDataStructureLoad data from MBC data structure
ModifyFilterModify user-defined filter in data set
ModifyTestFilterModify user-defined test filter in data set
ModifyVariableModify user-defined variable in data set
RemoveFilterRemove user-defined filter from data set
RemoveTestFilterRemove user-defined test filter from data set
RemoveVariableRemove user-defined variable from data set
RollbackEditUndo most recent changes to data
ValueDouble data from data object

Projects

Project PropertiesExamine project objects
Project MethodsWork with project objects

Project Properties

DataArray of data objects in project or test plan
FilenameFull path to project file
ModifiedBoolean signaling whether project has been modified
NameName of object
TestPlansArray of test plan objects in project

Project Methods

CopyDataCreate data object from copy of existing object
CreateDataCreate data object
CreateTestplanCreate new test plan
LoadLoad existing project file
NewCreate new project file
RemoveRemove project, test plan, or model
RemoveDataRemove data from project
SaveSave project to currently selected filename
SaveAsSave project to new file

Test Plans

Testplan PropertiesExamine test plan objects
Testplan MethodsWork with test plan objects

Testplan Properties

BestDesignBest design in test plan
DataArray of data objects in project or test plan
DefaultModelsDefault models for test plan
DesignsDesigns in test plan
InputsInputs for test plan, model, design or constraint
InputSignalNamesNames of signals in data that are being modeled
InputsPerLevelNumber of inputs at each level in model
LevelsNumber of levels in hierarchical model
NameName of object
ResponsesArray of available responses for test plan

Testplan Methods

AddDesignAdd design to test plan
AttachDataAttach data from project to test plan
BoundaryModelGet boundary model from test plan
CreateDesignCreate design object for test plan or model
CreateResponseCreate new response model for test plan
DetachDataDetach data from test plan
FindDesignFind design by name
InputSetupDialogOpen Input Setup dialog box to edit inputs
RemoveRemove project, test plan, or model
RemoveDesignRemove design from test plan
UpdateDesignUpdate design in test plan

Designs

Design PropertiesExamine design objects
Design MethodsWork with design objects
Generator PropertiesExamine design generator objects
Generator MethodsWork with design generator objects
Candidate Set PropertiesExamine design candidate set objects
Candidate Set MethodsWork with design candidate set objects
Design Constraint PropertiesExamine design constraint objects
Design Constraint MethodsWork with design constraint objects

Design Properties

ConstraintsConstraints in design
GeneratorDesign generation options
InputsInputs for test plan, model, design or constraint
Model (for designs)Model for design
NameName of object
NumberOfInputsNumber of model or design object inputs
NumberOfPointsNumber of design points
PointsMatrix of design points
PointTypesFixed and free point status
StyleStyle of design type
Type (for designs and generators)Design type

Design Methods

AddConstraintAdd design contraint
AugmentAdd design points
ConstrainedGenerateGenerate constrained space-filling design of specified size
CreateCandidateSetCreate candidate set for optimal designs
CreateConstraintCreate design contraint
DiscrepancyDiscrepancy value
FixPointsFix design points
GenerateGenerate new design points
getAlternativeTypesAlternative model or design types
MaximinMaximum of minimum of distance between design points
MergeMerge designs
MinimaxMinimum of maximum distance between design points
OptimalCriteriaOptimal design criteria (V, D, A, G)
RemovePointsRemove all nonfixed design points
Scatter2DPlot design points

Generator Properties

NumberOfInputsNumber of model or design object inputs
Type (for designs and generators)Design type

Generator Methods

getAlternativeTypesAlternative model or design types
Properties (for design generators)View and edit design generator properties

Candidate Set Properties

NumberOfInputsNumber of model or design object inputs
Type (for candidate sets)Candidate set type

Candidate Set Methods

getAlternativeTypesAlternative model or design types
Properties (for candidate sets)View and edit candidate set properties

Design Constraint Properties

InputsInputs for test plan, model, design or constraint
NameName of object
NumberOfInputsNumber of model or design object inputs
Type (for design constraints)Design constraint type

Design Constraint Methods

EvaluateEvaluate model or design constraint
getAlternativeTypesAlternative model or design types
MatchInputsMatch design constraint inputs
Properties (for design constraints)View and edit design constraint properties

Models

Hierarchical ModelsWorking with hierarchical models
Local ModelsWorking with local models
Response ModelsWorking with response models
Model ObjectsWorking with model objects
Model ParametersExamine model parameter objects
Model PropertiesSet model properties

Hierarchical Models

Hierarchical Response Properties

InputSignalNamesNames of signals in data that are being modeled
LevelLevel in test plan of response
LocalResponsesArray of local responses for response
NameName of object
NumberOfTestsTotal number of tests being used in model
ResponseSignalNameName of signal or response feature being modeled

Hierarchical Response Methods

AlternativeModelStatisticsSummary statistics for alternative models
CreateAlternativeModelsCreate alternative models from model template
DoubleInputDataData being used as input to model
DoubleResponseDataData being used as output to model for fitting
ExportMake command-line or Simulink export model
OutlierIndicesIndices of DoubleInputData marked as outliers
PEVPredicted error variance of model at specified inputs
PredictedValuePredicted value of model at specified inputs
RemoveRemove project, test plan, or model
SummaryStatisticsSummary statistics for response

Local Models

Local Response Properties

InputSignalNamesNames of signals in data that are being modeled
LevelLevel in test plan of response
NameName of object
NumberOfTestsTotal number of tests being used in model
ResponseFeatures(Local Response)Array of response features for local response
ResponseSignalNameName of signal or response feature being modeled

Local Response Methods

AlternativeModelStatisticsSummary statistics for alternative models
CreateAlternativeModelsCreate alternative models from model template
CreateResponseFeatureCreate new response feature for local model
DiagnosticStatistics Diagnostic statistics for response
DoubleInputDataData being used as input to model
DoubleResponseDataData being used as output to model for fitting
ExportMake command-line or Simulink export model
MakeHierarchicalResponseBuild two-stage model from response feature models
ModelForTestModel for specified test
OutlierIndicesIndices of DoubleInputData marked as outliers
OutlierIndicesForTestIndices marked as outliers for test
PEVPredicted error variance of model at specified inputs
PEVForTestLocal model predicted error variance for test
PredictedValuePredicted value of model at specified inputs
PredictedValueForTestPredicted local model response for test
RemoveRemove project, test plan, or model
RemoveOutliersRemove outliers in input data by index or rule, and refit models
RemoveOutliersForTestRemove outliers on test by index or rule and refit models
RestoreDataRestore removed outliers
RestoreDataForTestRestore removed outliers for test
SummaryStatisticsSummary statistics for response
SummaryStatisticsForTestStatistics for specified test
UpdateResponseFeaturesRefit response feature models

Local Model Properties

LocalModel PropertiesEdit local model properties
ResponseFeatures(Local Model)Set of response features for local model

Response Models

Response Properties

AlternativeResponsesArray of alternative responses for this response
InputSignalNamesNames of signals in data that are being modeled
LevelLevel in test plan of response
Model ObjectModel object within response object
NameName of object
NumberOfTestsTotal number of tests being used in model
ResponseSignalNameName of signal or response feature being modeled

Response Methods

AlternativeModelStatisticsSummary statistics for alternative models
ChooseAsBestChoose best model from alternative responses
CreateAlternativeModelsCreate alternative models from model template
DiagnosticStatistics Diagnostic statistics for response
DoubleInputDataData being used as input to model
DoubleResponseDataData being used as output to model for fitting
ExportMake command-line or Simulink export model
OutlierIndicesIndices of DoubleInputData marked as outliers
PEVPredicted error variance of model at specified inputs
PredictedValuePredicted value of model at specified inputs
RemoveRemove project, test plan, or model
RemoveOutliersRemove outliers in input data by index or rule, and refit models
RestoreDataRestore removed outliers
SummaryStatisticsSummary statistics for response

Model Objects

Response objects contain an mbcmodel.model object with the following properties and methods.

Model Properties

FitAlgorithmFit algorithm for model
InputDataInput data for model
InputsInputs for test plan, model, design or constraint
IsBeingEditedBoolean signaling if data or model is being edited
NumberOfInputsNumber of model or design object inputs
OutputDataOutput (or response) data for model
ParametersModel parameters
Properties (for models)View and edit model properties
ResponseResponse for model object
StatusModel status: fitted, not fitted or best
Type (for models)Valid model types
UnitsModel output units

Linear Model Methods

AliasMatrixAlias matrix for linear model parameters
BoxCoxSSESSE and confidence interval for Box-Cox transformations
CorrelationCorrelation matrix for linear model parameters
CovarianceCovariance matrix for linear model parameters
MultipleVIFMultiple VIF matrix for linear model parameters
ParameterStatisticsCalculate parameter statistics for linear model
PartialVIFPartial VIF matrix for linear model parameters
SingleVIFSingle VIF matrix for linear model parameters
StepwiseRegressionChange stepwise selection status for specified terms

Model Methods

CreateDesignCreate design object for test plan or model
EvaluateEvaluate model or design constraint
ExportMake command-line or Simulink export model
FitFit model to new or existing data, and provide summary statistics
getAlternativeTypesAlternative model or design types
InputSetupDialogOpen Input Setup dialog box to edit inputs
JacobianCalculate Jacobian matrix for model at existing or new X points
ModelSetupOpen Model Setup dialog box where you can alter model type
PEVPredicted error variance of model at specified inputs
PredictedValuePredicted value of model at specified inputs
StatisticsDialogOpen summary statistics dialog box
SummaryStatisticsSummary statistics for response
UpdateResponseReplace model in response

Fit Algorithm Methods

An mbcmodel.fitalgorithm object is contained within the Properties property of an mbcmodel.model object.

CreateAlgorithmCreate algorithm
getAlternativeNamesList alternative algorithm names
IsAlternativeTest alternative fit algorithm
SetupDialogOpen fit algorithm setup dialog box

Model Parameters

These properties of the mbcmodel.modelparameters object are all read-only. An mbcmodel.modelparameters object is contained within the Parameters property of an mbcmodel.model object.

Model Parameters Properties

NamesModel parameter names
NumberOfParametersNumber of included model parameters
ValuesValues of model parameters

Linear Model Properties

A mbcmodel.linearmodelparameters object is a mbcmodel.modelparameters object plus the following properties.

SizeOfParameterSetNumber of model parameters
StepwiseSelectionModel parameters currently included and excluded
StepwiseStatusStepwise status of parameters in model

RBF Model Properties

A mbcmodel.rbfmodelparameters object is a mbcmodel.linearmodelparameters object plus the following properties.

CentersCenters of RBF model
WidthsWidth data from RBF model

Model Properties

Linear Model Properties Methods

GetAllTermsList all model terms
GetIncludedTermsList included model terms
SetTermStatusSet status of model terms
  


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