Clear Filters
Clear Filters

Any tool to backup Matlab code (.m file), everytime when there is update/modification in code .

2 views (last 30 days)
I dont need to backup my code manually. Any tool which you guys use for archiving your code.
  2 Comments
Adam
Adam on 20 Aug 2018
Edited: Adam on 20 Aug 2018
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.

Sign in to comment.

Answers (1)

Tiasa Ghosh
Tiasa Ghosh on 20 Aug 2018
Edited: Tiasa Ghosh on 20 Aug 2018
You could include save filename.mat at the end your code so that it will save the changes everytime the code runs.

Categories

Find more on Source Control Integration 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!