Port width and dimension error
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/260653/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/260654/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/260655/image.png)
0 Kommentare
Antworten (2)
Jesús Zambrano
am 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 Kommentare
Jesús Zambrano
am 4 Feb. 2020
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.
Siehe auch
Kategorien
Mehr zu Simulink Environment Customization finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!