Port width and dimension error
6 ビュー (過去 30 日間)
古いコメントを表示
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.
0 件のコメント
回答 (2 件)
Jesús Zambrano
2020 年 1 月 10 日
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 件のコメント
Jesús Zambrano
2020 年 2 月 4 日
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.
参考
カテゴリ
Help Center および File Exchange で Sources についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!