Matlab and GIT: coping with dependencies
Afficher commentaires plus anciens
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 commentaire
+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
Réponses (0)
Catégories
En savoir plus sur Source Control dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!