Skip to Main Content Skip to Search
Product Documentation

Function Reference


General
Creating Model Predictive Controllers
Data Extraction
Modifying Model Predictive Controllers
Conversions
Analysis
Simulation
Graphical User Interfaces
Controller Design

General

mpchelpMPC property and function help
mpcpropsProvide help on MPC controller's properties
mpcverbosityChange toolbox verbosity level

Creating Model Predictive Controllers

gpc2mpcGenerate MPC controller using generalized predictive controller (GPC) settings
mpcCreate MPC controller
setmpcsignalsSet signal types in MPC plant model

Data Extraction

getMPC property values
getconstraintModel Predictive Control custom constraint definitions
getestimModel and gain for observer design
getindistUnmeasured input disturbance model
getnameI/O signal names in MPC prediction model
getoutdistUnmeasured output disturbance model
sizeDisplay model output/input/disturbance dimensions

Modifying Model Predictive Controllers

setSet or modify MPC object properties
setconstraintCustom constraints on plant inputs and outputs
setestimModify MPC object's linear state estimator
setindistModify unmeasured input disturbance model
setnameSet I/O signal names in MPC prediction model
setoutdistModify unmeasured output disturbance model
setterminalTerminal weights and constraints

Conversions

d2dChange MPC controller's sampling time
ssConvert unconstrained MPC controller to state-space linear form
tfConvert unconstrained MPC controller to linear transfer function
zpkConvert unconstrained MPC controller to zero/pole/gain form

Analysis

cloffsetCompute MPC closed-loop DC gain from output disturbances to measured outputs assuming constraints are inactive at steady state
compareCompare two MPC objects
reviewExamine MPC controller for design errors and stability problems at run-time
sensitivityCompute effect of controller tuning weights on performance

Simulation

mpcmoveOptimal control action
mpcmoveoptOptions set for mpcmove
mpcsimoptMPC simulation options
mpcstateDefine MPC controller state
plotPlot responses generated by MPC simulations
simSimulate closed-loop/open-loop response to arbitrary reference and disturbance signals
trimCompute steady-state value of MPC controller state for given inputs and outputs

Graphical User Interfaces

mpctoolStart Model Predictive Controller GUI

Controller Design

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS