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'

조회 수: 42 (최근 30일)
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

답변 (1개)

Fangjun Jiang
Fangjun Jiang 2021년 10월 26일
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.

카테고리

Help CenterFile Exchange에서 Sources에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by