Error in port widths or dimensions.

5 views (last 30 days)
rajsekhar
rajsekhar on 26 Sep 2013
Answered: Joel Van Sickel on 1 Dec 2020
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.

Answers (1)

Joel Van Sickel
Joel Van Sickel on 1 Dec 2020
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.

Categories

Find more on Electrical Sensors 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!