sdo.Experiment
Specify experiment I/O data, model parameters, and initial state values
Description
Use an sdo.Experiment
object to associate input and output data
with signals in a Simulink® model. Typically, you associate measured data that you collect from an
experiment with the corresponding signals in the model.
You can use the createSimulator
function of an experiment to
create a simulation object. Use the simulation object to simulate the model and compare
measured and simulated data. If the simulated response does not match the experimental data,
you can estimate model parameter values for which the model response matches the measured
data.
To specify model parameters for estimation, first create an estimation objective function,
using the sdo.Experiment
object and experiment design variables, to evaluate
design requirements. You can then use sdo.optimize
to estimate the parameter values that satisfy the design
requirements. For more information about the workflow, see Write a Cost Function and Estimate Model Parameter Values (Code).
Creation
Description
creates an exp
= sdo.Experiment(modelname
)sdo.Experiment
object and sets the
ModelName
property. The remaining properties have default
values.
Properties
Object Functions
createSimulator | Create simulation object from experiment to compare measured and simulated data |
getValuesToEstimate | Get model initial states and parameters for estimation from experiment |
prepareToDeploy | Configure experiment for deployment with Simulink Compiler |
setEstimatedValues | Update experiments with estimated model initial states and parameter values |
updateIOData | Update experiment input and output data |
Examples
Alternatives
Version History
Introduced in R2012b
See Also
sdo.optimize
| sdo.getStateFromModel
| param.Continuous
| param.State