I have a number of scripts that I have been maintaining for many years. They are not in version control but I still want to make edits and be able to access the code in previous versions. So I use a simple utility that saves a version of the file to a backup folder before I make major edits.
For more information about programmatically accessing the MATLAB Editor type:
To leave a comment, please click here to sign in to your MathWorks Account or create a new one.