From: Francesca Vannini on
Hello,
I'm using MPT Studio to generate a controller for a system. I've never used it before. I wrote the System Dynamics, the System Constraints, the Penalties, the Reference point, the Prediction horizon; when I press the buttom Generate Controller, the message "CAT arguments dimensions are not consistent" appears on my screen. As a detail, it says the error is due to "horzcat". I checked matrices and arrays dimensions in the system model and they are OK according to the number of states, inputs and outputs. I really don't know what else I can do...it seems it isn't able to horizontally concatenate some arrays or matrices...can anyone give me an help? Thank you!
From: Johan Löfberg on
Contact the developers with code and data, i.e Michal Kvasnica

/johan (involved in MPT development)

"Francesca Vannini" <vannini_f(a)yahoo.com> wrote in message <i05psd$8sj$1(a)fred.mathworks.com>...
> Hello,
> I'm using MPT Studio to generate a controller for a system. I've never used it before. I wrote the System Dynamics, the System Constraints, the Penalties, the Reference point, the Prediction horizon; when I press the buttom Generate Controller, the message "CAT arguments dimensions are not consistent" appears on my screen. As a detail, it says the error is due to "horzcat". I checked matrices and arrays dimensions in the system model and they are OK according to the number of states, inputs and outputs. I really don't know what else I can do...it seems it isn't able to horizontally concatenate some arrays or matrices...can anyone give me an help? Thank you!