How can we understand the "the dimensions of output port" in the sentence?

1 view (last 30 days)
Dear researchers,
I want to ask that what does this erro mean and how can we solve it? Please see the attached picture (the name of s-function is obscured).
  1 Comment
Issa on 10 Jul 2022
Since there are few details that I could learn from your question, I highly recommend you to refer to this MATLAB answer.
Hope this helps.

Sign in to comment.

Answers (1)

Fangjun Jiang
Fangjun Jiang on 11 Jul 2022
In the S-function code, you need to define the dimensions (or size) of the outport 2. You must have defined the size of outport 1. Look for that line and add a similar line.

Community Treasure Hunt

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

Start Hunting!

Translated by