The summary basically says it all. This lets you use Subversion with Matlab. I didn't see any other implementation on this, so I wrote this simple version for my group. Put this file in the ../toolbox/matlab/verctrl/ directory, overwriting the existing file there with the same name. Then go to matlab preferences, click on source control, and change it to "custom." Now in a matlab editor, you can use the menu items under File-Source Control.
Subversion doesn't use the "lock" concept, so that isn't implemented here. I also didn't implement the "undo checkout" feature. However, Zheng Li implemented that feature, and it is included in the "customverctr.m" file. My old version is "customverctr_noundo.m".
Improvements or comments are welcome.
Sean Bryan (2023). Subversion Interface for Matlab (https://www.mathworks.com/matlabcentral/fileexchange/11596-subversion-interface-for-matlab), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Zheng Li at Duke wrote an update to this code. He cleaned up the code, and added an "undo checkout" feature. The file "customverctr.m" is his updated version, and "customverctr_noundo.m" is my older version. Thanks Zheng!