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

I dont need to backup my code manually. Any tool which you guys use for archiving your code.

2 Kommentare

Adam
Adam am 20 Aug. 2018
Bearbeitet: Adam am 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.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Tiasa Ghosh
Tiasa Ghosh am 20 Aug. 2018
Bearbeitet: Tiasa Ghosh am 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.

2 Kommentare

.mat files store data, not code. The question asks about .m files.
Oh! didn't know that. Thank you!

Melden Sie sich an, um zu kommentieren.

Gefragt:

am 20 Aug. 2018

Kommentiert:

am 29 Aug. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by