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 commentaires

Adam
Adam le 20 Août 2018
Modifié(e) : Adam le 20 Août 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.

Connectez-vous pour commenter.

Réponses (1)

Tiasa Ghosh
Tiasa Ghosh le 20 Août 2018
Modifié(e) : Tiasa Ghosh le 20 Août 2018
You could include save filename.mat at the end your code so that it will save the changes everytime the code runs.

2 commentaires

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

Connectez-vous pour commenter.

Catégories

En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange

Question posée :

le 20 Août 2018

Commenté :

le 29 Août 2018

Community Treasure Hunt

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

Start Hunting!

Translated by