#Merge and add simulink ???????#

3 views (last 30 days)
zikouoo momo
zikouoo momo on 16 Jul 2012
Hello,
I 'm working on a block with a condition'' if'' and I want to have two signals on the same timeline ..
not a Mux but I want to do both at once .... on the same axis ... I tried with'' merge'' it does not work and with ''add'' also it does not work ...
MERGE is designed for that or not ?
Thank you.
  1 Comment
K E
K E on 17 Jul 2012
While I don't know the answer, I will note there are several good blog posts on this topic pulled up by the following Google search,
bus site:http://blogs.mathworks.com/seth/

Sign in to comment.

Answers (1)

Ryan G
Ryan G on 16 Jul 2012
The MERGE block should be utilized with conditionally executed subsystems. If you are trying to merge the if-else on a single line see the options here.

Community Treasure Hunt

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

Start Hunting!