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: Simul
3 views (last 30 days)
Show older comments
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
0 Comments
Answers (1)
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.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!