Branched Merge Block Check - How do I prevent this warning ?
5 次查看(过去 30 天)
显示 更早的评论
I have an simple if/else statement, where I link the outputs from the two blocks with the merge block again.
The generated code looks correct, but in the Model Advisor Report I get the warning "Branched Merge Block Check". No matter what I tried, I can’t get the warning off. I am now looking for a solution that does not generate a warning.
Model:
Keywords: Autosar, Outputs are integers with fix comma

Model Advisor Report - Warning:
Interestingly, there are only 2 and not 3 warnings. I don’t understand that either.

Configuration of merge elements:
All three elements are configured equally:

0 个评论
回答(1 个)
Fangjun Jiang
2025-3-7
Do you have cascaded Merge blocks? Do any of the incoming signals to Merge1 and Merge2 come from a Merge block? Or the output of Merge1 or Merge2 goes to another Merge block?
2 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Schedule Model Components 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!