Error in port widths or dimensions error simulink

Answers (1)

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!

Categories

Find more on Simulink in Help Center and File Exchange

Products

Release

R2019b

Asked:

on 23 Jan 2022

Answered:

on 25 Sep 2023

Community Treasure Hunt

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

Start Hunting!