Error in port widths or dimensions. 'Output Port 1' and Error in port widths or dimensions. Invalid dimension has been specified for 'Input Port 5'
30 views (last 30 days)
Show older comments
I am getting these two errors : Error in port widths or dimensions. 'Output Port 1' and Error in port widths or dimensions. Invalid dimension has been specified for 'Input Port 5'.
The problem is that i am unable to identify from which block is the error arising from. Can anybody help?
Thank you in advance
0 Comments
Answers (1)
Fangjun Jiang
on 26 Oct 2021
Clicking the link in the error message would lead to the block in the Simulink model. Double click the two port blocks to check their data size or dimension. Most likely, the two blocks are connected but have different size, thus the error message.
0 Comments
See Also
Categories
Find more on Sources 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!