CModel.SetModel

Creates a new model.

Method Syntax

 * SetModel( ModelType ModelTypeEnum, ModelCategory  ModelCategoryEnum, ModelParams )

Parameters
 * ModelType: The ModelTypeEnum describing this model.


 * ModelCategory: The ModelCategoryEnum describing this model.


 * ModelParams: The array of the model's parameters.

Usage Example
Dim newModel As New cModel(ModelTypeEnum.Weibull2, ModelCategoryEnum.Reliability, "NewModel1", 1, 100)

newModel.SetModel(ModelTypeEnum.Lognormal, ModelCategoryEnum.Reliability, 200)