Contenu principal

mbcCreateModel

R2026b

Create new model

Renamed from mbcmodel.CreateModel in R2026b

    Description

    ModelObj = mbcCreateModel(Type,Inputs) creates a ModelObj object of the specified Type.

    example

    Examples

    collapse all

    Create a hybrid spline with four input factors.

    M = mbcCreateModel('Hybrid Spline', 4)

    Create an RBF with four input factors.

    Inputs = mbcinputs('Symbol',{'N','L','EXH','INT'}',...
       'Name',{'ENGSPEED','LOAD','EXHCAM','INTCAM'}',...
       'Range',{[800 5000],[0.1 1],[-5 50],[-5 50]}');
    
    RBFModel = mbcCreateModel( 'RBF', Inputs);
    

    Input Arguments

    collapse all

    Type of model objects.

    Note

    Spaces and case in model Type are ignored.

    The model type must be one in this table.

    TypeModel Object
    Polynomial mbcmodel.linearmodel
    Hybrid Spline mbcmodel.linearmodel
    RBF mbcmodel.linearmodel
    Hybrid RBF mbcmodel.linearmodel
    Polynomial-RBF mbcmodel.linearmodel
    Hybrid Spline-RBF mbcmodel.linearmodel
    Gaussian Process mbcmodel.model
    Free Knot Spline mbcmodel.model
    Transient mbcmodel.model
    User-Defined mbcmodel.model
    Neural Network mbcmodel.model
    Interpolating RBF mbcmodel.model
    Local Polynomial Spline mbcmodel.localmodel
    Local Polynomial with Datum mbcmodel.localmodel
    Local Polynomial mbcmodel.localmodel
    Local Hybrid Spline mbcmodel.localmodel
    Local Truncated Power Series mbcmodel.localmodel
    Local Free Knot Spline mbcmodel.localmodel
    Local Multiple Models mbcmodel.localmodel
    Local Growth mbcmodel.localmodel
    Local User-Defined mbcmodel.localmodel
    Local Transient mbcmodel.localmodel
    Local Average Fit mbcmodel.localmodel

    Data Types: char | string

    Model input, specified as an mbcinputs object.

    Output Arguments

    collapse all

    Model created by mbcCreateModel, returned as a model object.

    Version History

    Introduced in R2026b

    expand all