A Report on Implementation is at https://www.scribd.com/document/378683616/Model-Predictive-Control-Report-by-Ronak-Jain
DMC_MIMO_DATA_Gen
DMC_simulink_trial_1_MIMO.slx
DMC_SISO_DATA_Gen
DMC_simulink_trial_2_SISO.slx
Generate Data for SISO system by running DMC_SISO_DATA_Gen.m the run the simulation file DMC_simulink_trial_2_SISO.slx
similarly do it for MIMO system.