How to close the Three-way merge window programmatically ?
1 次查看(过去 30 天)
显示 更早的评论
Hi,
I've been trying to find a way to Save & Close the Three-Way merge window programmatically (using code in the command window or in a script).
I was able to find documentation on the programmatic use of the tool: https://uk.mathworks.com/help/simulink/slref/simulinkthreewaymergetool.html
However, it only opens and executes the Three-way merge and I'm unable to find a programmatic way to close it. Is there any way to assign a handle or anything else in order to programmatically save and close the window? Just for clarification, I don't need to solve any conflicts manually (at least not any functional changes), hence, I'm looking to save and close it automatically.
Thanks.
0 个评论
回答(1 个)
Samay Sagar
2024-10-10
Hi @Dandro18048
While there are no functions to save and close the Simulink Three Way Merge Tool programmatically, you can use the “mlAutoMerge” Git plugin outside of MATLAB to merge models automatically. This plugin merges models across different Git branches containing SLX files with non-overlapping changes.
For more information to enable auto merge for models in a Git repository, you can refer the following documentation:
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!