Error in port widths or dimensions.

1 次查看(过去 30 天)
i was trying to make a model of sfcl using few relations from reference papers and existing blocks from simulink but i am getting an error which reads like this
Error in port widths or dimensions. Output port 1 of 'sfcl_using_blocks3/powergui/EquivalentModel1/Sources/From2' is a one dimensional vector with 3 elements.
The error is highlighted in the powergui block.
i have attached the screen shot of the problem i am facing. Guys please help me out.

回答(1 个)

Joel Van Sickel
Joel Van Sickel 2020-12-1
It looks like one of the circuit blocks is attatched to a simulink signal with the incorrect number of ports. It's highligting it in the powergui block, but the actual error is with one of the circuit elements in the model.
This answer is part of a MATLAB Answers cleanup effort for unanswered questions that are outstanding.

类别

Help CenterFile Exchange 中查找有关 Electrical Sensors 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by