How to connect the two signals in one signal in MATLAB Simulink? I mean first signal finishes second signal starts.
32 次查看(过去 30 天)
显示 更早的评论
I want to combine the three signals in the circle in red with the signals in the circle in yellow, so that the signs in the red color end in the display and the signs in the yellow circle start in the display. how I do that? A
ny answer is appreciated...

2 个评论
Les Beckham
2020-12-27
Is the transition determined by a specific point in simulation time or a specific value of one of the two signals?
回答(1 个)
Jim Riggs
2020-12-27
You description of the problem is confusing to me, bu the statement in the title
"first signal finishes second signal starts"
suggests to me that you might want a "merge" block. This is exactly what the merge block was designed for.

This block accepts two inputs and outputs the active input. There are two requirements;
Both input signals must be the same type.
Only one signal can be active.
If this is not right, please clarrify what you are looiking for.
6 个评论
Walter Roberson
2020-12-29
Signals do not "end" in Simulink unless they are in a subsystem that gets disabled.
Are you wanting to produce a series of frames from your rgb source, and then after the last of the series gets displayed, switch the rgb off and switch the YCrCb source on?
Are you wanting to interleave frames, one from the rgb source then one from the YCrCb source?
Are you wanting to display a single frame that has the rgb source on top and the YCrCb source below it? Or left / right instead of top/bottom?
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Get Started with Simulink 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!