Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Model Predictive Control Toolbox Functions

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
getconstraintSet custom constraints on linear combinations of plant inputs and outputs
setconstraintSet custom constraints on linear combinations of plant inputs and outputs
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

mpcmoveOptimal control action
mpcmoveoptOptions set for mpcmove and mpcmoveAdaptive
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
mpcmoveoptOptions set for mpcmove and mpcmoveAdaptive
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
mpcmoveoptOptions set for mpcmove and mpcmoveAdaptive
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
mpcmoveoptOptions set for mpcmove and mpcmoveAdaptive
mpcstateDefine MPC controller state

Economic MPC Design

mpcCreate MPC controller
mpcmoveOptimal control action
mpcmoveAdaptiveCompute optimal control with prediction model updating
mpcmoveMultipleCompute gain-scheduling MPC control action at a single time instant
mpcmoveoptOptions set for mpcmove and mpcmoveAdaptive
simSimulate closed-loop/open-loop response to arbitrary reference and disturbance signals for implicit or explicit MPC
mpcsimoptMPC simulation options

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
Was this topic helpful?