Extremely simple version control for Matlab code

Creates sequentially-numbered backups of existing m-file for safety while editing.

이 제출물을 팔로우합니다

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 (2026). Extremely simple version control for Matlab code (https://kr.mathworks.com/matlabcentral/fileexchange/34147-extremely-simple-version-control-for-matlab-code), MATLAB Central File Exchange. 검색 날짜: .

카테고리

Help CenterMATLAB Answers에서 Source Control에 대해 자세히 알아보기

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
1.0.0.0