Is it possible to merge .mlapp files with svn? I'm using Tortoise SVN and already set the MatLab comparison tool as an external diff using the instrucions specified here. But when I try to update/commit them and there's a new version by another user in the target folder I get an error message by Toroise SVN saying there is a conflict between the two revisions. Resolving the conflict leads me to the MatLab comparison tool in which the merge button is missing. So effectively I am unable to merge the two revisions. Am I doing something wrong?

1 Kommentar

Jim Cornacchio
Jim Cornacchio am 19 Nov. 2018
Benno, I'm having the same issue, but using Git. I don't believe that we can currently merge .mlapp files, only compare. I read through the documentation carefully after running to the issue and the subtitles are:
Compare and Merge Text
Compare and Merge Live Code
Compare and Merge MAT-Files
Compare Binary Files
I think that the last subtitle is purposefully missing the word "Merge." This is a problem that needs to be fixed....

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Mark Eigenraam
Mark Eigenraam am 1 Mär. 2022

0 Stimmen

Yes, we are finding this to be an issue as well. We cannot doa DIFF in Tortoise and the mlapp files are binary? This is a real issue of concern!

4 Kommentare

Jim Cornacchio
Jim Cornacchio am 2 Mär. 2022
Hi Mark,
You can diff and merge MLAPP files starting in MATLAB 2020b, at least from within MATLAB:
Good luck!
-Jim
Mark Eigenraam
Mark Eigenraam am 2 Mär. 2022
Hi Jim,
thanks for the help. From within Matlab I am trying to do a diff on a file but get the following error message. It is very difficult to change the SVN URL!
Walter Roberson
Walter Roberson am 2 Mär. 2022
It is not happy with the ^
Is that indicating a control-E?
You should percent-encode the same way that you have %20 to encode the space.
Mark Eigenraam
Mark Eigenraam am 2 Mär. 2022
thanks Walter, the SVN source control dir in Tortoise is: https://subversion.assembla.com/svn/ideea%5EEnSym
and this is it in Assembla
it seems Matlab does seem to be dealing with it?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Create Large-Scale Model Components finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2018a

Gefragt:

am 6 Sep. 2018

Kommentiert:

am 2 Mär. 2022

Community Treasure Hunt

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

Start Hunting!

Translated by