This repo includes the MATLAB codes for a Dynamic Matrix Control (DMC) and an Extended Predictive Functional Controller (EPFC) controller.