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!

 採用された回答

Guillaume
Guillaume 2019 年 3 月 8 日

0 投票

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 件のコメント

Eve_B
Eve_B 2019 年 3 月 8 日
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!
Eve_B
Eve_B 2019 年 3 月 8 日
Paused the cloud and stopped producing conflicts.
Thank you very much!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeEnvironment and Settings についてさらに検索

製品

リリース

R2017a

質問済み:

2019 年 3 月 8 日

コメント済み:

2019 年 3 月 8 日

Community Treasure Hunt

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

Start Hunting!

Translated by