How can we understand the "the dimensions of output port" in the sentence?
    2 views (last 30 days)
  
       Show older comments
    
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
      
 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.
Answers (1)
  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.
0 Comments
See Also
Categories
				Find more on Simulink Coder 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!

