MATLAB Answers

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

1 view (last 30 days)
Tianshu Yu
Tianshu Yu on 2 Jun 2019
Answered: the cyclist on 2 Jun 2019
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?


Sign in to comment.

Accepted Answer

More Answers (0)


Community Treasure Hunt

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

Start Hunting!