Documentation

Simulink Control Design Functions

Alphabetical List By Category

Operating Points

operpointCreate operating point for Simulink model
findopSteady-state operating point from specifications (trimming) or simulation
findopOptionsSet options for finding operating points from specifications
operspecOperating point specifications
initopspecInitialize operating point specification values
addoutputspecAdd output specification to operating point specification
getStateIndexGet index of a state element of an operating point specification or operating point
getInputIndexGet index of an input element of an operating point specification or operating point
getOutputIndexGet index of an output element of an operating point specification
updateUpdate operating point object with structural changes in model
getinputstructInput structure from operating point
getstatestructState structure from operating point

Linearization

Linearization Basics

linearizeLinear approximation of Simulink model or subsystem
getlinioObtain linear analysis points from Simulink model, Linear Analysis Plots block, or Model Verification block
linioCreate linear analysis point for Simulink model, Linear Analysis Plots block, or Model Verification block
setlinioSave linear analysis points to Simulink model, Linear Analysis Plots block, or Model Verification block
linlftLinearize model while removing contribution of specified blocks
linlftfoldCombine linearization results from specified blocks and model
linearizeOptionsSet linearization options

Batch Linearization

linearizeLinear approximation of Simulink model or subsystem
linearizeOptionsSet linearization options
slLinearizerInterface for batch linearization of Simulink models
getIOTransferTransfer function for specified I/O set using slLinearizer or slTuner interface
getLoopTransferOpen-loop transfer function at specified point using slLinearizer or slTuner interface
getSensitivitySensitivity function at specified point using slLinearizer or slTuner interface
getCompSensitivityComplementary sensitivity function at specified point using slLinearizer or slTuner interface
addPointAdd signal to list of analysis points for slLinearizer or slTuner interface
removePointRemove point from list of analysis points in slLinearizer or slTuner interface
removeAllPointsRemove all points from list of analysis points in slLinearizer or slTuner interface
getPointsGet list of analysis points for slLinearizer or slTuner interface
addOpeningAdd signal to list of openings for slLinearizer or slTuner interface
removeAllPointsRemove all points from list of analysis points in slLinearizer or slTuner interface
removeAllOpeningsRemove all openings from list of permanent openings in slLinearizer or slTuner interface
getOpeningsGet list of openings for slLinearizer or slTuner interface
getOffsetsForLPVExtract LPV offsets from linearization results
refreshResynchronize slLinearizer or slTuner interface with current model state

Troubleshooting Linearization Results

adviseFind blocks that are potentially problematic for linearization
findFind blocks in linearization results that match specific criteria
highlightHighlight linearization path in Simulink model
getBlockInfoObtain diagnostic information for block linearizations
getBlockPathsObtain list of blocks in LinearizationAdvisor object
linqueryAdviseQuery object for finding blocks that are potentially problematic for linearization
linqueryAllBlocksQuery object for finding all linearized blocks
linqueryContributesToLinearizationQuery object for finding blocks that contribute to the model linearization result
linqueryHasDiagnosticsQuery object for finding blocks that have diagnostic messages regarding their linearization
linqueryHasInputsQuery object for finding blocks with specified number of inputs
linqueryHasOrderQuery object for finding blocks with specified number of states
linqueryHasOutputsQuery object for finding blocks with specified number of outputs
linqueryHasSampleTimeQuery object for finding blocks with specified sample time
linqueryHasZeroIOPairQuery object for finding blocks with at least one input/output pair that linearizes to zero
linqueryIsBlockSubstitutedQuery object for finding blocks that have custom block linearizations specified
linqueryIsBlockTypeQuery object for finding blocks of the specified type
linqueryIsExactQuery object for finding blocks linearized using their defined exact linearization
linqueryIsNumericallyPerturbedQuery object for finding blocks linearized using numerical perturbation
linqueryIsOnPathQuery object for finding blocks that are on the linearization path
linqueryIsZeroQuery object for finding blocks that linearize to zero
LinearizationAdvisorDiagnostic information for troubleshooting linearization results
BlockDiagnosticDiagnostic information for individual block linearization
BlockOperatingPointOperating point at which block is linearized
CompoundQueryComplex query object for finding specific blocks in linearization results

Frequency Response Estimation

frestimateFrequency response estimation of Simulink models
frestimateOptionsOptions for frequency response estimation
frest.SinestreamSignal containing series of sine waves
frest.createFixedTsSinestreamSinestream input signal with fixed sample time
frest.ChirpSwept-frequency cosine signal
frest.RandomRandom input signal for simulation
frest.createStepStep input signal
frest.simComparePlot time-domain simulation of nonlinear and linear models
frest.simViewPlot frequency response model in time- and frequency-domain
getSimulationTimeFinal time of simulation for frequency response estimation
frest.findSourcesIdentify time-varying source blocks
frest.findDependList of model path dependencies

Control System Design and Tuning

Programmatic Tuning

Model Setup

slTunerInterface for control system tuning of Simulink models
slTunerOptionsSet slTuner interface options
addBlockAdd block to list of tuned blocks for slTuner interface
addOpeningAdd signal to list of openings for slLinearizer or slTuner interface
addPointAdd signal to list of analysis points for slLinearizer or slTuner interface
refreshResynchronize slLinearizer or slTuner interface with current model state
removeAllOpeningsRemove all openings from list of permanent openings in slLinearizer or slTuner interface
removeAllPointsRemove all points from list of analysis points in slLinearizer or slTuner interface
removeBlockRemove block from list of tuned blocks in slTuner interface
removeOpeningRemove opening from list of permanent loop openings in slLinearizer or slTuner interface
removePointRemove point from list of analysis points in slLinearizer or slTuner interface
setBlockParamSet parameterization of tuned block in slTuner interface
setBlockRateConversionSet rate conversion settings for tuned block in slTuner interface
setBlockValueSet value of tuned block parameterization in slTuner interface
writeBlockValueUpdate block values in Simulink model
writeLookupTableDataUpdate portion of tuned lookup table
getBlockParamGet parameterization of tuned block in slTuner interface
getBlockRateConversionGet rate conversion settings for tuned block in slTuner interface
getBlockValueGet current value of tuned block parameterization in slTuner interface
getOpeningsGet list of openings for slLinearizer or slTuner interface
getPointsGet list of analysis points for slLinearizer or slTuner interface
showTunableShow value of parameterizations of tunable blocks of slTuner interface

Tuning Goals

TuningGoal.StepTrackingStep response requirement for control system tuning
TuningGoal.StepRejectionStep disturbance rejection requirement for control system tuning
TuningGoal.TransientTransient matching requirement for control system tuning
TuningGoal.LQGLinear-Quadratic-Gaussian (LQG) goal for control system tuning
TuningGoal.Gain Gain constraint for control system tuning
TuningGoal.VarianceNoise amplification constraint for control system tuning
TuningGoal.Tracking Tracking requirement for control system tuning
TuningGoal.OvershootOvershoot constraint for control system tuning
TuningGoal.Rejection Disturbance rejection requirement for control system tuning
TuningGoal.SensitivitySensitivity 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.MinLoopGainMinimum loop gain constraint for control system tuning
TuningGoal.MaxLoopGainMaximum 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.PassivityPassivity constraint for control system tuning
TuningGoal.ConicSectorSector bound for control system tuning
TuningGoal.WeightedPassivityFrequency-weighted passivity constraint
TuningGoal.PolesConstraint on control system dynamics
TuningGoal.ControllerPolesConstraint on controller dynamics for control system tuning

Tuning, Analysis, and Validation

systuneTune control system parameters in Simulink using slTuner interface
systuneOptionsSet options for systune
getIOTransferTransfer function for specified I/O set using slLinearizer or slTuner interface
getLoopTransferOpen-loop transfer function at specified point using slLinearizer or slTuner interface
getSensitivitySensitivity function at specified point using slLinearizer or slTuner interface
getCompSensitivityComplementary sensitivity function at specified point using slLinearizer or slTuner interface
writeBlockValueUpdate block values in Simulink model
getTunedValueGet current value of tuned variable in slTuner interface
setTunedValueSet current value of tuned variable in slTuner interface
viewGoalView tuning goals; validate design against tuning goals
evalGoalEvaluate tuning goals for tuned control system

Loop-Shaping Design

slTunerInterface for control system tuning of Simulink models
slTunerOptionsSet slTuner interface options
looptuneTune MIMO feedback loops in Simulink using slTuner interface
looptuneOptionsSet options for looptune
loopviewGraphically analyze results of control system tuning using slTuner interface
looptuneSetupConstruct tuning setup for looptune to tuning setup for systune using slTuner interface
viewGoalView tuning goals; validate design against tuning goals
evalGoalEvaluate tuning goals for tuned control system

Gain Scheduling

tunableSurfaceCreate tunable gain surface for gain scheduling
polyBasisPolynomial basis functions for tunable gain surface
fourierBasisFourier basis functions for tunable gain surface
ndBasisBasis functions for tunable gain surface
viewSurfVisualize gain surface as a function of scheduling variables
evalSurfEvaluate gain surfaces at specific design points
getDataGet current values of tunable-surface coefficients
setDataSet values of tunable-surface coefficients
slTunerInterface for control system tuning of Simulink models
slTunerOptionsSet slTuner interface options
systune (slTuner)Tune control system parameters in Simulink using slTuner interface
varyingGoalVariable tuning goal for gain-scheduled controllers
getGoalEvaluate variable tuning goal at specified design point
Was this topic helpful?