Error between demux and bus creator port dimensions
4 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I am getting the following error when I run my model:
Invalid setting for output port dimensions of 'aircraft/Aircraft/Interface/Bus Creator1'. The dimensions are being set to 4. This is not valid because the total number of input and output elements are not the same
Invalid setting for output port dimensions of 'aircraft/Aircraft/Interface/Bus Creator1'. The dimensions are being set to 4. This is not valid because the total number of input and output elements are not the same
This comes from the blocks shown in this picture:
![](http://i52.tinypic.com/2j4yihg.png)
It is odd because all the port dimensions add up until it gets to the bus creator. The same thing also happens if I replace it with just a mux:
Error in port widths or dimensions. Output port 3 of 'aircraft/Aircraft/Interface/Demux1' is a one dimensional vector with 1 elements.
Error in port widths or dimensions. Input port 3 of 'aircraft/Aircraft/Interface/Mux2' is a one dimensional vector with 2 elements.
![](http://i54.tinypic.com/ifzm88.png)
This "Euler" input comes directly from the 6 Degrees of Freedom Simple Variable Mass Equations of Motion from the Aerospace Blockset.
I would be very grateful if someone could explain why this is happening andhow to go about fixing it.
Thanks,
Ryan
1 件のコメント
Kaustubha Govind
2011 年 2 月 22 日
What is the output of the Bus Creator or Mux connected to? Does it expect a signal with 4 elements? If yes, it is back-propagating the expected size (4), which doesn't match with the actual size (3).
回答 (1 件)
behzad aghaei
2013 年 8 月 28 日
because in first you used demux then used bus creator it is wrong for solve this problem you can:
1 Start used demux and End used mux
2 Start used bus selector and End used bus creator
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Aerospace Applications についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!