Error in port widths or dimensions
이전 댓글 표시
Hello,
so i have a state space representation in simulink matlab, and i have this error:
Error in port widths or dimensions. Invalid dimension has been specified for 'Input Port 3' of 'dcmicrogrid14/plant model/Sum'.
Component:Model Predictive Controller | Category:Find Operating Point error
Error in port widths or dimensions. 'Output Port 1' of 'dcmicrogrid14/plant model/Gain' is a [2x2] matrix.
Component:Model Predictive Controller | Category:Find Operating Point error


3 inputs, 2 outputs=2 states,
and the gain are element.wise
in this case why A shouldn't be 2 by 2?
what is the error?
thanks in advance
댓글 수: 2
Sulaymon Eshkabilov
2023년 12월 28일
It is a bit difficult to see your model (subsystem), it will be helpful to see the whole model.
Mounira
2023년 12월 29일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Simulink에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!