Introduction - If you have any usage issues, please Google them yourself
a Simulink block to use the state space MPC code is developed. Two examples to work with continous-time state space plant model and discrete-time state space plant model are included.