Keep files and write documentation to be well-organised
Show older comments
This is a request for some suggestions/good practices rather than a technical MATLAB question. I have been doing some tests recently which have produced many data (by data I mean variables in a workspace). These data are produced by both twitching some parameters in functions and by using slightly different versions of the same function. At the moment the functions are not commented, but I'd like to spend some time writing a documntation, since most likely I will forget som details as soon as I stop working with them for a few weeks.
The question is: is there a standard "good" way to do this? And also to save the data fils so that I don't go crazy? At the moment if I have, say, parameters
I just save the data as "a=a_0_b=b_0_c=c_0.mat" where
are some particular values. But this isfast becoming quite unfeasible, s i'd like to know how it's supposed to be done.
are some particular values. But this isfast becoming quite unfeasible, s i'd like to know how it's supposed to be done. 1 Comment
Stephen23
on 8 Dec 2025
Why not just save the variables a, b, c, etc inside the Mat file?
Accepted Answer
More Answers (0)
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!