branched signals to merge block
113 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
Fangjun Jiang
2019-11-18
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 个评论
Fangjun Jiang
2022-2-10
Can you attach the model? Simplify it if you need to, as long as the error exists.
Dave Hall
2022-2-10
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Subsystems 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!