필터 지우기
필터 지우기

Merge block connection issue

조회 수: 5 (최근 30일)
nkumar
nkumar 2018년 2월 4일
편집: Jim Riggs 2018년 2월 8일
Hi I have an issue with merge block. I have two enabled subsystems connected to merge block. I have end time(t=1 to 10) of 10 with step size 1.when t=1 enabled system1 is activated,when t=2,sub system 2 is activated, but when t=3 both subsystems get activated. Can any one tell is it good practice of connecting merge block.

답변 (1개)

Jim Riggs
Jim Riggs 2018년 2월 8일
편집: Jim Riggs 2018년 2월 8일
Look at help for the merge block.
Merge is intended for use with conditionally executed blocks where only one of the blocks is enabled.
If both blocks are enabled at the same time, then you must decide how the two signals are combined. Do they add, multiply, concatenate? If the two output signals are concatenated, the output signal changes size. This is not a proper use of the merge block.

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by