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

2 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by