Automatic experiment & simulation logging

Automatic logging of simulations' parameters and corresponding results
128 Downloads
Updated 25 Jun 2014

View License

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
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Analyze Simulation Results in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.0.0

Fixed the "help" of the main file, logParametersAndResults.

1.0.0.0