How to connect the two signals in one signal in MATLAB Simulink? I mean first signal finishes second signal starts.

4 views (last 30 days)
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? Any answer is appreciated...

Answers (1)

Jim Riggs
Jim Riggs on 27 Dec 2020
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.
amenah Muwafaq
amenah Muwafaq on 29 Dec 2020
My design is as follows, read a video, use (Frame to Stream) block, to convert the frame into a stream, divide the stream into two halves, then do a specific treatment on each half of the stream. At the end, I want to link the two halves of the stream like the original stream and use the (Stream to Frame) block to convert the stream to a frame and then Show the video
My problem is how to link two streams into one stream the same as the original stream.

Sign in to comment.


Find more on Interactive Model Editing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by