Documentation

Simulink Control Design Functions

Alphabetical List By Category

Operating Points

operpoint Create operating point for Simulink model
findop Steady-state operating point from specifications (trimming) or simulation
findopOptions Set options for finding operating points from specifications
operspec Operating point specifications
initopspec Initialize operating point specification values
addoutputspec Add output specification to operating point specification
update Update operating point object with structural changes in model
getinputstruct Input structure from operating point
getstatestruct State structure from operating point

Linearization

Linearization Basics

linearize Linear approximation of Simulink model or subsystem
getlinio Linearization input/output (I/O) settings for Simulink model, Linear Analysis Plots block, or Model Verification block
linio Define linearization input/output (I/O) points for Simulink model
setlinio Specify linearization input/output (I/O) points for Simulink model, Linear Analysis Plots block, or Model Verification block
linlft Linearize model while removing contribution of specified blocks
linlftfold Combine linearization results from specified blocks and model
linearizeOptions Set linearization options

Batch Linearization

linearize Linear approximation of Simulink model or subsystem
linearizeOptions Set linearization options
slLinearizer Interface for batch linearization of Simulink models
getIOTransfer Transfer function for specified I/O set using slLinearizer or slTuner interface
getLoopTransfer Open-loop transfer function at specified point using slLinearizer or slTuner interface
getSensitivity Sensitivity function at specified point using slLinearizer or slTuner interface
getCompSensitivity Complementary sensitivity function at specified point using slLinearizer or slTuner interface
addPoint Add signal to list of analysis points for slLinearizer or slTuner interface
removePoint Remove point from list of analysis points in slLinearizer or slTuner interface
removeAllPoints Remove all points from list of analysis points in slLinearizer or slTuner interface
addOpening Add signal to list of openings for slLinearizer or slTuner interface
removeAllPoints Remove all points from list of analysis points in slLinearizer or slTuner interface
removeAllOpenings Remove all openings from list of permanent openings in slLinearizer or slTuner interface
getOffsetsForLPV Extract LPV offsets from linearization results
refresh Resynchronize slLinearizer or slTuner interface with current model state

Frequency Response Estimation

frestimate Frequency response estimation of Simulink models
frestimateOptions Options for frequency response estimation
frest.Sinestream Signal containing series of sine waves
frest.createFixedTsSinestream Sinestream input signal with fixed sample time
frest.Chirp Swept-frequency cosine signal
frest.Random Random input signal for simulation
frest.createStep Step input signal
frest.simCompare Plot time-domain simulation of nonlinear and linear models
frest.simView Plot frequency response model in time- and frequency-domain
getSimulationTime Final time of simulation for frequency response estimation
frest.findSources Identify time-varying source blocks
frest.findDepend List of model path dependencies

Control System Design and Tuning

Programmatic Tuning

Model Setup

slTuner Interface for control system tuning of Simulink models
addBlock Add block to list of tuned blocks for slTuner interface
addOpening Add signal to list of openings for slLinearizer or slTuner interface
addPoint Add signal to list of analysis points for slLinearizer or slTuner interface
setBlockParam Set parameterization of tuned block in slTuner interface
setBlockRateConversion Set rate conversion settings for tuned block in slTuner interface
setBlockValue Set value of tuned block parameterization in slTuner interface
slTunerOptions Set slTuner interface options
getBlockParam Get parameterization of tuned block in slTuner interface
getBlockRateConversion Get rate conversion settings for tuned block in slTuner interface
getBlockValue Get current value of tuned block parameterization in slTuner interface
getOpenings Get list of openings for slLinearizer or slTuner interface
getPoints Get list of analysis points for slLinearizer or slTuner interface
refresh Resynchronize slLinearizer or slTuner interface with current model state
removeAllOpenings Remove all openings from list of permanent openings in slLinearizer or slTuner interface
removeAllPoints Remove all points from list of analysis points in slLinearizer or slTuner interface
removeBlock Remove block from list of tuned blocks in slTuner interface
removeOpening Remove opening from list of permanent loop openings in slLinearizer or slTuner interface
removePoint Remove point from list of analysis points in slLinearizer or slTuner interface
showTunable Show value of parameterizations of tunable blocks of slTuner interface
writeBlockValue Update block values in Simulink model

Tuning Goals

TuningGoal.StepTracking Step response requirement for control system tuning
TuningGoal.StepRejection Step disturbance rejection requirement for control system tuning
TuningGoal.Transient Transient matching requirement for control system tuning
TuningGoal.LQG Linear-Quadratic-Gaussian (LQG) goal for control system tuning
TuningGoal.Gain Gain constraint for control system tuning
TuningGoal.Variance Noise amplification constraint for control system tuning
TuningGoal.Tracking Tracking requirement for control system tuning
TuningGoal.Overshoot Overshoot constraint for control system tuning
TuningGoal.Rejection Disturbance rejection requirement for control system tuning
TuningGoal.Sensitivity Sensitivity requirement for control system tuning
TuningGoal.WeightedGain Frequency-weighted gain constraint for control system tuning
TuningGoal.WeightedVariance Frequency-weighted H2 norm constraint for control system tuning
TuningGoal.MinLoopGain Minimum loop gain constraint for control system tuning
TuningGoal.MaxLoopGain Maximum loop gain constraint for control system tuning
TuningGoal.LoopShape Target loop shape for control system tuning
TuningGoal.Margins Stability margin requirement for control system tuning
TuningGoal.Passivity Passivity constraint for control system tuning
TuningGoal.ConicSector Sector bound for control system tuning
TuningGoal.WeightedPassivity Frequency-weighted passivity constraint
TuningGoal.Poles Constraint on control system dynamics
TuningGoal.ControllerPoles Constraint on controller dynamics for control system tuning

Tuning, Analysis, and Validation

systune Tune control system parameters in Simulink using slTuner interface
systuneOptions Set options for systune
getIOTransfer Transfer function for specified I/O set using slLinearizer or slTuner interface
getLoopTransfer Open-loop transfer function at specified point using slLinearizer or slTuner interface
getSensitivity Sensitivity function at specified point using slLinearizer or slTuner interface
getCompSensitivity Complementary sensitivity function at specified point using slLinearizer or slTuner interface
writeBlockValue Update block values in Simulink model
getTunedValue Get current value of tuned variable in slTuner interface
setTunedValue Set current value of tuned variable in slTuner interface
viewSpec View tuning requirements; validate design against requirements
evalSpec Evaluate tuning requirements for tuned control system

Loop-Shaping Design

slTuner Interface for control system tuning of Simulink models
slTunerOptions Set slTuner interface options
looptune Tune MIMO feedback loops in Simulink using slTuner interface
looptuneOptions Set options for looptune
loopview Graphically analyze results of control system tuning using slTuner interface
looptuneSetup Construct tuning setup for looptune to tuning setup for systune using slTuner interface
viewSpec View tuning requirements; validate design against requirements
evalSpec Evaluate tuning requirements for tuned control system

Gain Scheduling

tunableSurface Create tunable gain surface for gain scheduling
polyBasis Polynomial basis functions for tunable gain surface
fourierBasis Fourier basis functions for tunable gain surface
ndBasis Basis functions for tunable gain surface
viewSurf Visualize gain surface as a function of scheduling variables
evalSurf Evaluate gain surfaces at specific design points
getData Get current values of tunable-surface coefficients
setData Set values of tunable-surface coefficients
slTuner Interface for control system tuning of Simulink models
slTunerOptions Set slTuner interface options
systune (slTuner) Tune control system parameters in Simulink using slTuner interface
Was this topic helpful?