Error in port widths or dimensions. Output port 1 of 'pfe1_corr​ection16/p​owergui/Eq​uivalentMo​del1/Sourc​es/From2' is a one dimensional vector with 4 elements. Component: Simul

3 views (last 30 days)
Error in port widths or dimensions. Output port 1 of 'pfe1_correction16/powergui/EquivalentModel1/Sources/From2' is a one dimensional vector with 4 elements.
Component: Simulink | Category: Block error

Answers (1)

Suman
Suman on 20 Jun 2024
Hi Nadir,
The error indicates that there is a mismatch between the dimension of the data that the signal is carrying and the dimension that the port is expecting or sending out. Since the output port is a one dimension vector, make sure the receiving port and the connected signal comply with that dimensions. Without looking at the model, I cannot give a more specific answer.

Categories

Find more on Modeling in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!