Reproducible research: tracking experiments / logbook of past .m file executions

4 ビュー (過去 30 日間)
Philipp
Philipp 2014 年 6 月 12 日
回答済み: Jonathan A 2019 年 9 月 2 日
Dear MATLAB users,
is there any accepted strategy for tracking experiments in MATLAB? I think of using some kind of "logbook" that lists all past executions of an .m file, possibly combined with version control...
Best regards, Philipp

回答 (2 件)

Star Strider
Star Strider 2014 年 6 月 12 日
My approach would be to create a mat-file that the ‘.m’ file writes at each execution. As for version control, you could create a ‘version’ variable of update date strings and perhaps comments (cell array) that would be appended to the mat-file each time the ‘.m’ file ran.

Jonathan A
Jonathan A 2019 年 9 月 2 日
Hi Philipp,
My answer might come a little bit late, but in case someone else needs it, I uploaded a lightweight scientific workflow tool I am always using to manage and track information (data and function executions) in my experiments.
With this, it is possible to call the following method:
explo.info();
This displays the last time each function of your experiment changed. Hope this helps.

カテゴリ

Help Center および File ExchangeInstall Products についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by