Package: sdo
Specify experiment I/O data, model parameters, and initial-state values
An experiment specifies input and output data for a Simulink® model. You can also specify model parameters and initial-state values.
Typically, you use experiments to estimate unknown model parameter
values. You can also use the createSimulator
method
of an experiment to create a simulation object. Use the simulation
object to simulate the model and compare measured and simulated data.
exp
= sdo.Experiment(modelname
)
Constructs an sdo.Experiment
object. It assigns
the specified model name to the ModelName
property
and default values to the remaining properties.
|
Simulink model name, specified as a character vector or
string. For example, The model must either be open or appear on the MATLAB® path. |
|
Model initial-state for the experiment, specified as a To specify multiple initial-states, use a vector of To obtain model initial states, use Use this property only for specifying initial-states that differ from the initial state values defined in the model.
After specifying the initial states that you are estimating for an experiment, use Default: |
|
Experiment input data. Specify signals to apply to root-level input ports. For information on supported forms of input data, see Forms of Input Data (Simulink). Default: |
|
Simulink model name associated with the experiment, specified
as a character vector. For example, The model must appear on the MATLAB path. Default: |
|
Experiment output data, specified as a To specify multiple output signals, use a vector of Default: |
|
Model parameter value for the experiment, specified as a To specify values for multiple parameters, use a vector of To obtain model parameters, use Use this property only for specifying parameters values that differ from the parameters values defined in the model.
After specifying the parameters that you are estimating for an experiment, use Default: |
|
Experiment name, specified as a character vector. For example, Default: |
|
Experiment description, specified as a character vector. For
example, Default: |
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 |
Value. To learn how value classes affect copy operations, see Copying Objects (MATLAB).
param.Continuous
| param.State
| sdo.getStateFromModel
| sdo.optimize