Simulink Bus Creation/Model Reference Bug?

조회 수: 1 (최근 30일)
Thomas Satterly
Thomas Satterly 2021년 4월 2일
편집: Thomas Satterly 2021년 4월 2일
For reference, I am using Matlab r2016b.
There seems to be a bug when creating a bus that uses a bus type definition and passing the bus into a model reference. If the bus creator is defined with signal names out of order, selecting signals from the bus works just fine in the top-level model. However, when the bus is passed to a model reference (whos inputs are also set to the bus type), the signal names are seemingly ignored and it decides to use signal order instead, causing the bus values to change. I've attached a simple example where a bus with two signals, "zero" and "one", are set to 0 and 1 respectively.
Is this a bug, or intended behavior?

답변 (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