Model Predictive control Toolbox™, which includes functions, an app, Simulink®, blocks, and references for the development of model predictive control (MPC), provides functions, an application, and Simulink®, blocks. The toolbox supports the creation of explicit, explicit, adaptive, gain-scheduled, and adaptive MPC for linear problems. Nonlinear problems can be solved by single- or multi-stage nonlinear MPC. The toolbox includes deployable optimization solvers, as well as the ability to create a custom solver. Closed-loop simulations can be used to evaluate controller performance in Simulink and MATLAB®. You can also use the MISRA C(r-)- and ISO 26262-compliant examples and blocks to automate driving. These blocks and examples are compatible with lane keep, path planning, following and adaptive cruise control applications. Design adaptive, gain-scheduled, or implicit MPC controllers that solve quadratic programming (QP). From an implicit design, generate an explicit MPC controller. For mixed-integer QP problems, use a discrete control set MPC.