Extremely simple version control for Matlab code

版本 1.0.0.0 (3.4 KB) 作者: Kevin Bartlett
Creates sequentially-numbered backups of existing m-file for safety while editing.
307.0 次下载
更新时间 2011/12/9

查看许可证

vcp creates backups of existing m-files for easy backtracking when editing code.

The command
vcp myprogram
entered on the command line, looks for an m-file named 'myprogram.m' on the Matlab search path. If it is found at, say, /home/kevin/matlab/plotting/, then a backup copy named 'myprogram.m.000' will be created in /home/kevin/matlab/plotting/devel/ (if the 'devel' sub-directory does not exist, it will be created). Subsequent calls to
vcp myprogram
will create backups named 'myprogram.m.001', 'myprogram.m.002', etc.

The command
vedit myprogram
would do the same, but would also open the specified program in the Matlab editor.

Works in both Unix and Windows.

引用格式

Kevin Bartlett (2024). Extremely simple version control for Matlab code (https://www.mathworks.com/matlabcentral/fileexchange/34147-extremely-simple-version-control-for-matlab-code), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R12.1
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Source Control Integration 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0