How to solve error in port widths or dimensions in Simulink?
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Carlos de Jesús Fernández Melgarejo
el 11 de Nov. de 2023
Comentada: Divyanshu
el 23 de Nov. de 2023
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 comentario
Divyanshu
el 23 de Nov. de 2023
Hi Carlos,
Can you share the model, as it is difficult to figure out the issue just from image of the model?
Respuestas (0)
Ver también
Categorías
Más información sobre Electrical Sensors en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!