Clear Filters
Clear Filters

Error in port widths or dimensions.

4 views (last 30 days)
Tejas
Tejas on 25 Aug 2023
Commented: Fangjun Jiang on 25 Aug 2023
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
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.

Sign in to comment.

Answers (0)

Categories

Find more on Programmatic Model Editing in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!