How to solve error in port widths or dimensions in Simulink?
5 views (last 30 days)
Show older comments
Hello, I am trying to do a linearization in simulink but when I run the model the errors appear
- Error in port widths or dimensions. 'Output Port 1' of 'Pendulum/Mux' is a one dimensional vector with 6 elements.
- Error:Error in port widths or dimensions. 'Input Port 1' of 'Pendulum/Simulink-PS Converter' is a one dimensional vector with 1 elements.
Here is an image of the model.

Does anyone know how to solve it?
1 Comment
Divyanshu
on 23 Nov 2023
Hi Carlos,
Can you share the model, as it is difficult to figure out the issue just from image of the model?
Answers (0)
See Also
Categories
Find more on Electrical Sensors in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!