The code inserted for saving .mat files with different names for different transient length cutoffs is not sustainable - we can't have different files for every possible parameterization.
Perhaps, instead, each run could generate a unique identifier and save the mat files into a separate subdirectory, and in the main directory add to a database of which parameters were used to generate the outputs in each subdirectory.
The code inserted for saving .mat files with different names for different transient length cutoffs is not sustainable - we can't have different files for every possible parameterization.
Perhaps, instead, each run could generate a unique identifier and save the mat files into a separate subdirectory, and in the main directory add to a database of which parameters were used to generate the outputs in each subdirectory.