How to close the Three-way merge window programmatically ?
조회 수: 2 (최근 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!