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

2 visualizaciones (últimos 30 días)
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

Respuestas (2)

Star Strider
Star Strider el 12 de Jun. de 2014
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 el 2 de Sept. de 2019
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.

Categorías

Más información sobre Environment and Settings en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by