Any tool to backup Matlab code (.m file), everytime when there is update/modification in code .
Show older comments
I dont need to backup my code manually. Any tool which you guys use for archiving your code.
2 Comments
There are numerous version control systems available which will all do this. In the past I have used cvs and svn, currently we use Hg/Mercury. Matlab incorporates this via svn or Git too, though I have never used this within Matlab.
Alfaz Memon
on 29 Aug 2018
Answers (1)
Tiasa Ghosh
on 20 Aug 2018
Edited: Tiasa Ghosh
on 20 Aug 2018
0 votes
You could include save filename.mat at the end your code so that it will save the changes everytime the code runs.
2 Comments
Stephen23
on 20 Aug 2018
.mat files store data, not code. The question asks about .m files.
Tiasa Ghosh
on 20 Aug 2018
Oh! didn't know that. Thank you!
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!