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

2 views (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
Abderrahim. B
Abderrahim. B on 10 Jul 2022
Hi
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.

Categories

Find more on Simulink Functions in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!