Combine signals in Simulink

조회 수: 2 (최근 30일)
Jurica Martinko
Jurica Martinko 2020년 12월 22일
답변: Rhea Chandy 2021년 1월 4일
How can I combine a signal from conditional subsystem with a normal signal? I want to combine a power signal from a source with two signals from conditional subsystem that are connected with this input signal. When I use Merge block it says that it cannot be connected, because Merge block can use only signals from conditional subsystems. Is there another way to combine these two signals into one without using Merge block.
  댓글 수: 2
jessupj
jessupj 2020년 12월 22일
try the mux block maybe. it depends on what you need merged signals for i guess.
Jurica Martinko
Jurica Martinko 2020년 12월 22일
I need to combine this two merged signals from conditional subsystem with a normal signal in one signal.

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

답변 (1개)

Rhea Chandy
Rhea Chandy 2021년 1월 4일
Hello Jurica,
As you say in your post, only conditionally executed subsystems can be used to drive Merge blocks. The guidelines and limitations of merge blocks are in the following documentation, and you an refer to this for further information on how to use them effectively: Merge Blocks
You may use an array of buses as an input signal to a Merge block,(with certain limitations) to combine inputs into a single output. Further, you can also try using a Mux block, which combines inputs with the same data type and complexity into a vector output, although this doesn't give the same output as the Merge block. You can refer to this information on combining signals: Composite Signals.

카테고리

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