How to close the Three-way merge window programmatically ?

2 Ansichten (letzte 30 Tage)
Dandro18048
Dandro18048 am 4 Apr. 2024
Beantwortet: Samay Sagar am 10 Okt. 2024
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.

Antworten (1)

Samay Sagar
Samay Sagar am 10 Okt. 2024
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:

Kategorien

Mehr zu Simulink Functions finden Sie in Help Center und File Exchange

Produkte


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by