Error in port widths or dimensions.

6 Ansichten (letzte 30 Tage)
Tejas
Tejas am 25 Aug. 2023
Kommentiert: Fangjun Jiang am 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 Kommentar
Fangjun Jiang
Fangjun Jiang am 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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Modeling finden Sie in Help Center und File Exchange

Produkte


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by