Documentation

Simulink Design Optimization Functions

Parameter Estimation

Prepare Data

spetool Create Estimation Task in Parameter Estimation Tool

Estimate Parameters and States

spetool Create Estimation Task in Parameter Estimation Tool
sdo.optimize Design optimization problem solution
sdo.getStateFromModel Initial state for estimation from Simulink model
sdo.getModelDependencies List of model file and path dependencies
sdo.Experiment Specify experiment I/O data, model parameters, and initial-state values
sdo.SimulationTest Simulation scenario description
sdo.OptimizeOptions Optimization options

Response Optimization

Specify Design Requirements

getbounds Get bounds specified in Check block
sdo.setCheckBlockEnabled Enable or disable all check blocks in model
sdo.requirements.BodeMagnitude Bode magnitude bound
sdo.requirements.ClosedLoopPeakGain Closed loop peak gain bound
sdo.requirements.GainPhaseMargin Gain and phase margin bounds
sdo.requirements.OpenLoopGainPhase Nichols response bound
sdo.requirements.PZDampingRatio Damping ratio bound
sdo.requirements.PZNaturalFrequency Natural frequency bound
sdo.requirements.PZSettlingTime Settling time bound
sdo.requirements.SingularValue Singular value bound
sdo.requirements.SignalBound Piecewise-linear amplitude bound
sdo.requirements.SignalTracking Reference signal to track
sdo.requirements.StepResponseEnvelope Step response bound on signal

Optimize Model Response

sdotool Open Response Optimization tool
sdo.optimize Design optimization problem solution
sdo.getParameterFromModel Design variable for optimization
sdo.setValueInModel Set design variable value in model
sdo.getModelDependencies List of model file and path dependencies
sdo.getValueFromModel Get design variable value from model
sdoupdate Update model containing Signal Constraint block
sdo.SimulationTest Simulation scenario description
sdo.OptimizeOptions Optimization options

Sensitivity Analysis

sdo.getParameterFromModel Design variable for optimization
sdo.getStateFromModel Initial state for estimation from Simulink model
sdo.sample Generate parameter samples
sdo.evaluate Evaluate cost function for samples
sdo.analyze Analyze how model parameters influence cost function
sdo.scatterPlot Scatter plot of samples
sdo.getModelDependencies List of model file and path dependencies
makedist Create probability distribution object
sdo.ParameterSpace Specify probability distributions for model parameters
sdo.EvaluateOptions Cost function evaluation options for sdo.evaluate

Optimization-Based Control Design

sdotool Open Response Optimization tool
getbounds Get bounds specified in Check block
sdo.optimize Design optimization problem solution
sdo.getParameterFromModel Design variable for optimization
sdo.setValueInModel Set design variable value in model
sdo.getValueFromModel Get design variable value from model
sdo.getModelDependencies List of model file and path dependencies
sdo.setCheckBlockEnabled Enable or disable all check blocks in model
sdoupdate Update model containing Signal Constraint block
sdo.requirements.BodeMagnitude Bode magnitude bound
sdo.requirements.ClosedLoopPeakGain Closed loop peak gain bound
sdo.requirements.GainPhaseMargin Gain and phase margin bounds
sdo.requirements.OpenLoopGainPhase Nichols response bound
sdo.requirements.PZDampingRatio Damping ratio bound
sdo.requirements.PZNaturalFrequency Natural frequency bound
sdo.requirements.PZSettlingTime Settling time bound
sdo.requirements.SingularValue Singular value bound
sdo.requirements.SignalBound Piecewise-linear amplitude bound
sdo.requirements.SignalTracking Reference signal to track
sdo.requirements.StepResponseEnvelope Step response bound on signal
sdo.SimulationTest Simulation scenario description
sdo.OptimizeOptions Optimization options
Was this topic helpful?