How to commit Simulink model file on git
조회 수: 2 (최근 30일)
이전 댓글 표시
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
댓글 수: 0
답변 (1개)
Shreshth
2024년 8월 28일
Hey Aditya,
Please refer to the below MathWorks documentation link for info about setting up GIT Source control for MATLAB.
Thanks.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Create Large-Scale Model Components에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!