Error regarding Input port when using SIMULINK
1 view (last 30 days)
Show older comments
I have system which shows error in this way.
Error in port widths or dimensions. Output port 1 of 'SMC1/LQR_Controller/u' is a one dimensional vector with 3 elements.
Error in port widths or dimensions. Input port 1 of 'SMC1/LQR_Controller/MatrixB' is a one dimensional vector with 1 elements.
Although the MatrixB is receiving the same input as u 's output. Kindly guide me how do I resolve this error.
The image of system is given below:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/350972/image.png)
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!