Error in port widths or dimensions.
3 views (last 30 days)
Show older comments
Error in port widths or dimensions. 'Output Port 1' of 'Project/model11/From10' is a one dimensional vector with 4 elements.
Component:Simulink | Category:Model error
Error in port widths or dimensions. 'Input Port 3' of 'Project/model11/Multiport Switch1' is a one dimensional vector with 1 elements.
I'm getting this error, the model looks good, but when the output from From10 goes to Multiport switch1, it's showing port errors, why? how to resolve such error?
1 Comment
Fangjun Jiang
on 25 Aug 2023
The error message is clear. The From block is feeding 4 numbers. Is that what you expected? Show or attach your model to get help.
Answers (0)
See Also
Categories
Find more on Programmatic Model Editing 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!