Best way to organize a database of simulation log files to be searchable
9 views (last 30 days)
Over the past few years I've developed MATLAB code for simulating the motion of groups of autonomous agents (e.g. robots) employing a variety of feedback control laws (for research purposes). When I run the simulator for a given set of parameters, my simulator generates a "simresultsFinal.mat" log file which contains all of the pertinent data generated by the simulation (e.g. vectors of position data, etc.) as well as a couple of other .mat log files.
My question is if there is an efficient way to organize my database of .mat log files so that they would be searchable based on the parameters used for that particular simulation. My current method is to auto-generate a (Windows) folder with a folder name that includes the values of certain key parameters and then save the corresponding log files in that particular folder. If I later attempt to run a simulation with the same parameters, my code searches to determine if a folder with that name already exists on the path. This feels like a very inefficient and non-scalable way to implement my "database" organization, and it is not able to capture all of the pertinent parameter data because there is a limit to how long a Windows folder name can be. Any ideas on a better way to do this?