Why the script of function is always stored in two files ".m" and ".m~"?

1 回表示 (過去 30 日間)
Tianshu Yu
Tianshu Yu 2019 年 6 月 2 日
回答済み: the cyclist 2019 年 6 月 2 日
I stored my function in my directory as "test_probe.m". However, there's another file also created. It's name is "test_probe.m~". I open the file "test_probe.m~" and find that it's not different from "test_probe.m" except that the code in the file is not highlighted using different color. What is the use of "test_probe.m~"? Can I delete it?

採用された回答

the cyclist
the cyclist 2019 年 6 月 2 日
It is an auto-saved backup file. See this page for details.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeEnvironment and Settings についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by