Right now I am doing some optimizations which takes some time and I would like to save the results in a good way. As my code is constantly changing I would like to save one or two .m Files together with the results. Just as a backup if I have to see exactly what I was doing.
So my ideal case would be:
mFile1 = load('mFile1.m');
results = randn(100,100); %some other variables
save('allResults.mat')
So that all of that end up stored in one file. It might not be super memory saving but the couple of KB are worth it I think.
Ideally something like
disp(mFile1)
would result in some easy readable output.
Any ideas how I could resolve that? Thanks Thomas
Ps: I could also use a version tracking system, but I don't want to do that as it will take always some effort to go to previous versions.