Port width and dimension error

1 view (last 30 days)
David Ramjit
David Ramjit on 8 Jan 2020
Answered: Ankus Behera on 19 Apr 2023
I have a model that gives an error in port width and dimension and i am unsure how to correct the error. Images of a section of the model and the error is attached.

Answers (2)

Jesús Zambrano
Jesús Zambrano on 10 Jan 2020
Hi David,
First try to connect al those pending signals and rerun the model. This is to be sure that the MATLAB function block is giving the signals you expect.
  4 Comments
David Ramjit
David Ramjit on 4 Feb 2020
Hi Jesús,
Connecting the pending signals still did not solve the issue.
Jesús Zambrano
Jesús Zambrano on 4 Feb 2020
Then, try to check if the input and output ports of the MATLAB function block are well defined. If that block is working in a loop, check that the signals dimensions make sense in the loop.

Sign in to comment.


Ankus Behera
Ankus Behera on 19 Apr 2023
can anyone tell me how to design a Synchronverter block

Categories

Find more on Simulink Environment Customization in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!