Port width and dimension error

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

Hi Jesús,
I am unsure what pending signals you are refering to since everything is connected.
Hi David,
Look at the warnings in the screenshot, it says you have to warnings related to:
Input port 3 of self_synch_qzc/Synchronverter/Sp' is not connected.
Hi Jesús,
Connecting the pending signals still did not solve the issue.
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

Products

Asked:

on 8 Jan 2020

Answered:

on 19 Apr 2023

Community Treasure Hunt

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

Start Hunting!