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!