Hello everyone...
I am trying to implement model predictive control for a mimo process by making few changes to the example program...But when I run the program an error occurs..
Details of error-
Error 2318 occured at discrete state space in control and simulation loop
reason-control design and simulation.The dimensions of the parameter vectors of this function do not match...
Can anyone tell me the reason for this error and how to rectify it...I am attaching the file as well..