Matlab creates conflict file when saving

Hello!
There is a problem when I save a script I'm editing. To be more precise: I have a script that I have saved as "rhoder2.m". I edit and save it. Then the "rhoder2.m" goes back to what it was before the edit and the changes are saved in a file "rhoder2_conflict-20190308-105811.m". And this happens every time (no need to run it) and I don't understand why. Does anyone know how it can be fixed?
Thank you in advance!

 采纳的回答

Conflict files are typically created by version control systems. They're not normally generated automatically but on commit. Perhaps, you have your version control system set to auto-commit.
Another possibility is that your folder is synchronised by some cloud client (dropbox, onedriver, etc) and the client detects that the file has been changed on another system.
Either way, it's most likely nothing to do with matlab. What happens if you save the file in a completely differrent folder?

2 个评论

Oh, ok! I don't have a version control system (you mean like git, right?), but I do save in a cloud synchronised folder. Although it is not being changed on another system. I'll turn off the cloud and see how it goes!
Paused the cloud and stopped producing conflicts.
Thank you very much!

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Environment and Settings 的更多信息

产品

版本

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by