How to connect the two signals in one signal in MATLAB Simulink? I mean first signal finishes second signal starts.
Ältere Kommentare anzeigen
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...
ny answer is appreciated...2 Kommentare
Les Beckham
am 27 Dez. 2020
Is the transition determined by a specific point in simulation time or a specific value of one of the two signals?
amenah Muwafaq
am 28 Dez. 2020
Bearbeitet: amenah Muwafaq
am 28 Dez. 2020
Antworten (1)
Jim Riggs
am 27 Dez. 2020
0 Stimmen
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 Kommentare
amenah Muwafaq
am 27 Dez. 2020
Bearbeitet: amenah Muwafaq
am 27 Dez. 2020
amenah Muwafaq
am 27 Dez. 2020
Jim Riggs
am 28 Dez. 2020
The error message indicates (as I said) that only one signal may be active. This is accomplished by using an enabled subsystem block on each signal with a logical trigger to switch from one to the other. I don't know what the signals are, so I can't help you with the logical trigger, but the implementation looks like;

The enabled subsystem can be a simple signal pass-through, as shown above..
You can also package the model inside a regular subsystem block.

This block accepts two input signals (Signal1, Signal2) and a logical trigger (Use_Signal_1). When "Use_Signal_1" is TRUE, it outputs signal1, when FALSE, it outputs signal2.
amenah Muwafaq
am 28 Dez. 2020
Walter Roberson
am 29 Dez. 2020
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?
amenah Muwafaq
am 29 Dez. 2020
Kategorien
Mehr zu Sources finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


