Introduction - If you have any usage issues, please Google them yourself
Recently published on the mpc simulation using MATLAB to control the industrial use of the book there are many examples and source code, a very good reference book.
Wang-Model_Predictive_Control_System_Design_and_Implementation_Using_MATLAB-9781848823303.pdf