| 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 |
M = mbcmodel.CreateModel(Type, INPUTS)
NewModel = CreateModel(model,Type)
M = mbcmodel.CreateModel(Type, INPUTS) This syntax is a function that creates an mbcmodel.model object of the specified Type.
mbcmodel.linearmodel and mbcmodel.localmodel are subclasses of mbcmodel.model. Model types that begin with the word "local" specify an mbcmodel.localmodel object.
NewModel = CreateModel(model,Type) This syntax is a function that creates a new model (of the specified Type) with the same inputs as an existing model. model is an mbcmodel.model object. You can use getAlternativeTypes to generate a list of valid model types. See Type (for models) for a list of valid model types. Spaces and case in Type are ignored.
INPUTS can be a mbcmodel.modelinput object, or any valid input to the mbcmodel.modelinput constructor. See modelinput.
To create a hybrid spline with four input factors, enter:
M = mbcmodel.CreateModel('Hybrid Spline', 4)To create an RBF with four input factors, enter:
Inputs = mbcmodel.modelinput('Symbol',{'N','L','EXH','INT'}',...
'Name',{'ENGSPEED','LOAD','EXHCAM','INTCAM'}',...
'Range',{[800 5000],[0.1 1],[-5 50],[-5 50]}');
RBFModel = mbcmodel.CreateModel( 'RBF', Inputs);
To create a polynomial with the same input factors as the previously created RBF, enter:
PolyModel = CreateModel(RBFModel,'Polynomial')
getAlternativeTypes, modelinput, CreateProject, CreateData, Type (for models)
![]() | CreateDesign | CreateProject | ![]() |

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 |