Problem: Invalid dimensions specified for output port..
Mostrar comentarios más antiguos
Hello,
This is my model:

Matrices:

C = 0 ; D = 0;
K=

Anyone can help me?I don't know how solve this problem, I'm totally lost. Thanks in advance!
Respuestas (1)
Azzi Abdelmalek
el 28 de Jun. de 2016
C=0 and D=0 means that your system output will be always equal to 0. Plus the feedback K*u is a 1x5 array when your state space model is expecting a scalar as input. I guess you want to make state feedback, then change the value of the two arrays C and D
C=ones(5)
D=zeros(5);
1 comentario
Helena Zurowiak
el 30 de Jun. de 2016
Categorías
Más información sobre Simulink en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!