Matlab and GIT: coping with dependencies
이전 댓글 표시
I would like to start using GIT to version control my matlab programs. What I need is to be able to revert to a previous version and run the main program with all its subfunctions for such a previous version (e.g. roll back to a previous time&date).
Is that possible with GIT & Matlab, and if yes, how is that implemented?
Thanks,
Julian
댓글 수: 1
+1 for encoragment to use GIT and open source repositories.
Matlab's File Exchange, is integrated with GitHub allowing you to host your files on GitHub and the file exchange at the same time. Here are a couple MathWorks blog posts covering the basics.
- https://blogs.mathworks.com/community/2014/10/20/matlab-and-git/
- https://blogs.mathworks.com/community/2014/04/18/file-exchange-now-hosts-github/
TMW also explains the general workflow for Matlab and Simulink,
- https://www.mathworks.com/help/matlab/matlab_prog/set-up-git-source-control.html
- https://www.mathworks.com/help/simulink/ug/set-up-git-source-control.html
the process of cloning, pushing, pulling, and fetching files,
- https://www.mathworks.com/help/matlab/matlab_prog/retrieve-from-git-repository.html
- https://www.mathworks.com/help/simulink/ug/push-and-fetch-files-with-git.html
and general information on sharing Matlab and Simulink projects on GitHub
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Source Control에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!