- Click on the error message to navigate to the specific block in the Simulink model.
- Double click on the blocks to inspect the output port width of one block and the input port width of another block.
- Make the necessary changes in port dimensions to ensure that the output port width of one block matches the input port width of the other block.
Error in port widths or dimensions error simulink
1 次查看(过去 30 天)
显示 更早的评论
Hello gys,
I received the following error:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/870445/image.png)
Can anyone help me, please?
0 个评论
回答(1 个)
Gagan Agarwal
2023-9-25
Hi Stéphanie,
I understand that the error you are experiencing in your Simulink model is due to port size incompatibility between two interconnected blocks.
To resolve this error please follow these steps:
By implementing these adjustments, the discrepancies in port widths between the blocks will be eliminated, resulting in the proper functioning of the model.
I hope this helps!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!