Automatic experiment & simulation logging
This code, when called at the end of a simulation or experiment matlab code, does the following:
1.Records all the parameters included in the "parameters" struct, including all data types (inner structs as well).
2.Records the corresponding results contained in the "results" struct.
3.Writes the differences in parameters from previous run into a log file (and optionally to the screen).
4.Records the best (minimal) results achieved so far, along with its specific identifier, enabling reproduction of the results.
5.Writes the differences in parameters from those used when achieving the best results so far (see 4).
6.Saves additional desired variables, along with the parameters and results.
Cite As
Yuval Bahat (2024). Automatic experiment & simulation logging (https://www.mathworks.com/matlabcentral/fileexchange/47046-automatic-experiment-simulation-logging), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.