Simulink State Space Error
이전 댓글 표시
I'm receiving the error:
Error in port widths or dimensions. 'Output Port 1' of 'Project1/Step' is a one dimensional vector with 1 elements.
Component:Simulink | Category:Model error
Error in port widths or dimensions. 'Input Port 1' of 'Project1/State-Space' has 2 elements. This port does not accept the dimensions (or orientation) specified by the input signal.
Component:Simulink | Category:Model error
When I run the attached simulink model. I inputted state space variables with size A: 4x4, B: 4x2, C: 1x4, D: 1x2 into the state space block. It seems that there is a dimension error with the sine wave input. How do I fix this?
채택된 답변
추가 답변 (1개)
Fangjun Jiang
2023년 3월 28일
0 개 추천
Your A, B, C, D values specify that the size of the input is 2x1 (two inputs) but the Step block provides only one input.
카테고리
도움말 센터 및 File Exchange에서 Array and Matrix Mathematics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!