Error in port widths or dimensions error simulink

1 次查看(过去 30 天)
Hello gys,
I received the following error:
Can anyone help me, please?

回答(1 个)

Gagan Agarwal
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:
  1. Click on the error message to navigate to the specific block in the Simulink model.
  2. Double click on the blocks to inspect the output port width of one block and the input port width of another block.
  3. 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.
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!

类别

Help CenterFile Exchange 中查找有关 Simulink Functions 的更多信息

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by