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

1 回表示 (過去 30 日間)
Alfaz Memon
Alfaz Memon 2018 年 8 月 20 日
コメント済み: Alfaz Memon 2018 年 8 月 29 日
I dont need to backup my code manually. Any tool which you guys use for archiving your code.
  2 件のコメント
Adam
Adam 2018 年 8 月 20 日
編集済み: Adam 2018 年 8 月 20 日
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
Alfaz Memon 2018 年 8 月 29 日
thanks I am refering this link matlab and git

サインインしてコメントする。

回答 (1 件)

Tiasa Ghosh
Tiasa Ghosh 2018 年 8 月 20 日
編集済み: Tiasa Ghosh 2018 年 8 月 20 日
You could include save filename.mat at the end your code so that it will save the changes everytime the code runs.
  2 件のコメント
Stephen23
Stephen23 2018 年 8 月 20 日
.mat files store data, not code. The question asks about .m files.
Tiasa Ghosh
Tiasa Ghosh 2018 年 8 月 20 日
Oh! didn't know that. Thank you!

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by