How to close the Three-way merge window programmatically ?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Samay Sagar
el 10 de Oct. de 2024
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 comentarios
Ver también
Categorías
Más información sobre Simulink Functions en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!