How can we understand the "the dimensions of output port" in the sentence?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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).
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1060365/image.png)
1 comentario
Abderrahim. B
el 10 de Jul. de 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.
Respuestas (1)
Fangjun Jiang
el 11 de Jul. de 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 comentarios
Ver también
Categorías
Más información sobre Simulink Functions en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!