This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Model Predictive Control Toolbox Functions - By Category

Alphabetical List By Category

Plant Specification

setmpcsignalsSet signal types in MPC plant model
getnameRetrieve I/O signal names in MPC prediction model
setnameSet I/O signal names in MPC prediction model

MPC Design

Controller Creation

mpcCreate MPC controller
mpcpropsProvide help on MPC controller properties
gpc2mpcGenerate MPC controller using generalized predictive controller (GPC) settings

Refinement

getMPC property values
getnameRetrieve I/O signal names in MPC prediction model
setSet or modify MPC object properties
setnameSet I/O signal names in MPC prediction model
getconstraintObtain mixed input/output constraints from model predictive controller
setconstraintSet mixed input/output constraints for model predictive controller
setterminalTerminal weights and constraints
getEstimatorObtain Kalman gains and model for estimator design
setEstimatorModify a model predictive controller’s state estimator
getindistRetrieve unmeasured input disturbance model
getoutdistRetrieve unmeasured output disturbance model
setindistModify unmeasured input disturbance model
setoutdistModify unmeasured output disturbance model

Analysis

reviewExamine MPC controller for design errors and stability problems at run time
compareCompare two MPC objects
cloffsetCompute MPC closed-loop DC gain from output disturbances to measured outputs assuming constraints are inactive at steady state
sensitivityCompute effect of controller tuning weights on performance
sizeSize and order of MPC Controller
trimCompute steady-state value of MPC controller state for given inputs and outputs
d2dChange MPC controller sample
ssConvert unconstrained MPC controller to state-space linear system
tfConvert unconstrained MPC controller to linear transfer function
zpkConvert unconstrained MPC controller to zero/pole/gain form

Simulation

mpcmoveCompute optimal control action
mpcmoveoptOption set for mpcmove function
mpcstateDefine MPC controller state
simSimulate closed-loop/open-loop response to arbitrary reference and disturbance signals for implicit or explicit MPC
mpcsimoptMPC simulation options
plotPlot responses generated by MPC simulations

Adaptive MPC Design

mpcmoveAdaptiveCompute optimal control with prediction model updating
mpcmoveoptOption set for mpcmove function
mpcstateDefine MPC controller state

Explicit MPC Design

generateExplicitMPCConvert implicit MPC controller to explicit MPC controller
generateExplicitRangeBounds on explicit MPC control law parameters
generateExplicitOptionsOptimization options for explicit MPC generation
simplifyReduce explicit MPC controller complexity and memory requirements
plotSectionVisualize explicit MPC control law as 2-D sectional plot
generatePlotParametersParameters for plotSection
mpcmoveExplicitCompute optimal control using explicit MPC
mpcmoveoptOption set for mpcmove function
mpcstateDefine MPC controller state
simSimulate closed-loop/open-loop response to arbitrary reference and disturbance signals for implicit or explicit MPC
mpcsimoptMPC simulation options

Gain-Scheduled MPC Design

mpcmoveMultipleCompute gain-scheduling MPC control action at a single time instant
mpcmoveoptOption set for mpcmove function
mpcstateDefine MPC controller state

Nonlinear MPC Design

nlmpcNonlinear model predictive controller
nlmpcmoveCompute optimal control action for nonlinear MPC controller
nlmpcmoveoptOption set for nlmpcmove function
validateFcnsExamine prediction model and custom functions of nlmpc object for potential problems
convertToMPCConvert nlmpc object into one or more mpc objects
createParameterBusCreate Simulink bus object and configure Bus Creator block for passing model parameters to Nonlinear MPC Controller block

Code Generation

reviewExamine MPC controller for design errors and stability problems at run time
mpcmoveCodeGenerationCompute optimal control moves with code generation support
getCodeGenerationDataCreate data structures for mpcmoveCodeGeneration
mpcqpsolverSolve a quadratic programming problem using the KWIK algorithm
mpcqpsolverOptionsCreate default option set for mpcqpsolver