| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Model Predictive Control Toolbox |
| Contents | Index |
Model Predictive Control Computation
This section describes how the model predictive control optimization problem is solved at each time step k (in mpcmove, mpc_sfun.mex, and mpcloop_engine.mex) by using the matrices built at initialization described in QP Matrices.
Unconstrained MPC
The optimal solution is computed analytically
and the model predictive controller sets
u(k)=z*0, u(k)=u(k-1)+
u(k).
Constrained Model Predictive Control
The optimal solution z*,
* is computed by solving the quadratic program described in Equation 2-9 and Equation 2-11, using the QP solver coded in the qpsolver.mex function (see qpdantz for more details).
| Provide feedback about this page |
![]() | QP Matrices | Using Identified Models | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |