Is the output of the Bus Selector block with the 'Muxed Output' option checked a bus or a mux signal (R14SP2)?

조회 수: 3 (최근 30일)
If I select the 'Muxed Output' option on a Bus Selector block, the signal sometimes appears as a bus. This seems to occur when:
1. Any of my selected signals are buses themselves.
2. The muxed set of scalars and vectors directly feed a Bus Selector block downstream.

채택된 답변

MathWorks Support Team
MathWorks Support Team 2009년 6월 27일
The intended use of the 'Muxed Output' option is to create buses. This option is mislabeled. With that in mind, signals leaving this block should only feed bus capable blocks.
This option can cause difficulty due to the fact that when an outgoing signal is the same datatype it can be treated as a mux signal. For instance, as an input to a Gain block.
You should treat the output of a Bus Selector block with the mislabeled 'muxed output' option checked as a bus.
If you want a muxed signal, use a Bus Selector block to select the desired signals, which must have the same datatype and be scalars or vectors and connect those signals to a Mux block.
Please refer to the Related Solution for more information.
The option lets you prune one bus to produce another smaller bus.

추가 답변 (0개)

카테고리

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

제품


릴리스

R14SP2

Community Treasure Hunt

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

Start Hunting!

Translated by