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 comentarios

Adam
Adam el 20 de Ag. de 2018
Editada: Adam el 20 de Ag. de 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.

Iniciar sesión para comentar.

Respuestas (1)

Tiasa Ghosh
Tiasa Ghosh el 20 de Ag. de 2018
Editada: Tiasa Ghosh el 20 de Ag. de 2018
You could include save filename.mat at the end your code so that it will save the changes everytime the code runs.

2 comentarios

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

Iniciar sesión para comentar.

Etiquetas

Preguntada:

el 20 de Ag. de 2018

Comentada:

el 29 de Ag. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by