branched signals to merge block

102 views (last 30 days)
ARAVINTH DESIKAN
ARAVINTH DESIKAN on 18 Nov 2019
Edited: Dave Hall on 10 Feb 2022
this is the error I am getting when I am connecting a branched signals to merge block
Branched signals cannot be fed into a Merge block. The signal from 'impl_cmd_ctrl_subsys/Implement Command Control v00-/Lift Service Test Manager/Signal Conversion' output port 1 is connected to both Merge block 'impl_cmd_ctrl_subsys/Implement Command Control v00-/Lift Service Test Manager/Merge' input port 1 and to 'impl_cmd_ctrl_subsys/Implement Command Control v00-/Lift Service Testpoints/Subsystem/ImplSvcTstCmd_Fnc_TP/Copy' input port 1. To fix this error, you can insert a Signal Conversion block in Signal Copy mode and feed the output of the Signal Conversion block to only the Merge block. This message is related to a hidden SignalConversion block.
This block is added for block 'impl_cmd_ctrl_subsys/Implement Command Control v00-/Lift Service Test Manager/Signal Conversion' as result of block insertion or expansion. The hidden block's parameter 'Output' is set to 'Signal copy' This message is related to a hidden Merge block.

Answers (1)

Fangjun Jiang
Fangjun Jiang on 18 Nov 2019
If a signal line goes to a Merge block, this signal line can't go anywhere else (branched). If you really need to use this signal line somewhere else, insert a Signal Conversion block and set it to do "Signal Copy".
  6 Comments
Fangjun Jiang
Fangjun Jiang on 10 Feb 2022
Can you attach the model? Simplify it if you need to, as long as the error exists.
Dave Hall
Dave Hall on 10 Feb 2022
Found a fix: I replaced the merge block with a switch block, and that seems to work around the problem. Not as clean as merge, but it works.

Sign in to comment.

Tags

Products


Release

R2017b

Community Treasure Hunt

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

Start Hunting!