Running the model Simply run "MPC_run_script.m" Requirements For running MPC toolbox in matlab, requirements can be checked here: https://www.mathworks.com/support/requirements/model-predictive-control-toolbox.html