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.
Error in port widths or dimensions.
3 次查看(过去 30 天)
显示 更早的评论
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?
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Programmatic Model Editing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!