Skip to content

Model predictive control (MPC) implemented in Matlab using CVX

Notifications You must be signed in to change notification settings

glhr/mpc-matlab

Repository files navigation

For some context/details about the assignment, see the instructions PDF.

Instructions

First, install CVX if you haven't already. Download CVX from here. Extract cvx.zip to a directory of your choice. Then, from the Matlab console, cd to that directory and run cvx_setup. For example:

cd ./cvx
cvx_setup

You can then run the MPC simulation by running MPCsimPredictionModelStudent.m. This will output the following Figures:

Figure 1 Figure 2
MPC Simulation Figure 1 MPC Simulation Figure 2

About

Model predictive control (MPC) implemented in Matlab using CVX

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages