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 CenterFile Exchange에서 Install Products에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by