Bus Assignment block dimension mismatch Please help!!!

조회 수: 3 (최근 30일)
Amardeep
Amardeep 2011년 10월 26일
I am getting the error:
Incomming busses to block '...UpdateData/Bus Assignment' have a dimension mismatch. the signal at input port 28 of '...DataInit/Bus Assignment'is of dimensionality 1 while its corresponding signal at inport 6 of '...UpdateData/Bus Assignment' is of dimensionality 2. This error is related to a hidden SubSystem block.
I have checked the one variable which is assigned using both blocks and its dimensionality stays the same. Is it possibly the dimensions of the bus at the first inport? However there is nothing between the two bus assignments which changes the dimensions of the bus.
Please help as this is highly confusing
Regards
Amardeep

채택된 답변

Amardeep
Amardeep 2011년 10월 27일
I have narrowed it down and its because of a change in a non-common input where I am trying to over write a [1x9] array with another [1x9] array and its insisting on the dimension change
  댓글 수: 1
Amardeep
Amardeep 2011년 10월 27일
Figured it out. My initial assignment at the top level was coming through as dimensionality (9) as I had ticked rsolve as 1D on the constant block... DOH!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Sources에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by