How to commit Simulink model file on git

6 vues (au cours des 30 derniers jours)
Aditya Tarey
Aditya Tarey le 13 Mar 2020
Réponse apportée : Shreshth le 28 Août 2024
Hi,
I am working at a startup and we are using git as our version controlling tool. We work extensively on simulink and would like to commit simulink files.
I understand that simulink files are esentially zip files with model information stored inside .xml files.
I would like to know how Simulink project pushes these files once I make exception for .slx in .gitattributes. Does it convert the .slx file to xml and stores the diff or it simply uploads the entire file for each push.
My main concerns are:
1.) Simulink models should not get corrupted.
2.) We do not need to commit entire .slx file every time we make a change to save space in the repo.
Regards,
Aditya

Réponses (1)

Shreshth
Shreshth le 28 Août 2024
Hey Aditya,
Please refer to the below MathWorks documentation link for info about setting up GIT Source control for MATLAB.
Thanks.

Catégories

En savoir plus sur Project Management dans Help Center et File Exchange

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by