필터 지우기
필터 지우기

Software Version Control in Simulink: SVN vs GIT

조회 수: 22 (최근 30일)
Mikel Ituarte Gil
Mikel Ituarte Gil 2023년 3월 13일
댓글: Luca Ferro 2023년 3월 14일
Hi everyone,
I want to set up a Software Version Control for a couple of Simulink projects I'm working on. We are a handful of people working on these projects, and some of them are quite large. I'm doubting between SVN and GIT for the version control. I have some experience with both out of MATLAB environment. Is there any big difference between both in Simulink? I'm especially concerned with version comparison and merging in Simulink, because it seems a lot more complicated that in text based files (although I have seen that there is a tool to do this).
Also I'd be grateful if you had any advices on how to work with Simulink and version control, model references, simulink libraries...
Thanks a lot!

채택된 답변

Luca Ferro
Luca Ferro 2023년 3월 13일
My team has always used SVN and now we are transitioning to GIT.
The best pro git argument is the well intergrated gui. Projects are great to simplify workflows (you still need someone capable of using bash for more advanced things), especially to manage conflicts. The 3-way merge tool is for sure the best thing for simulink versioning i've seen. Easy, quick and very user friendly.
The best pro SVN argument is that it requires way less maintanance and it has a less steep learning curve. Plus it's better with binary files from a storage and speed point of view.
Git weakness is that it's so optimized for code that it's tricky to adapt to simulink and to model based engineering teams. It needs qutie the initial effort from brainstorming the structure to writing guidelines.
SVN weakness is that it doesn't really allow parallel work in it's true meaning because of it's centralization and to me feels a lot like a dying environment.
It's been too little for me to get a decisive response to the 'what's better?' question.
  댓글 수: 2
Mikel Ituarte Gil
Mikel Ituarte Gil 2023년 3월 14일
Thanks for the answer! Is the 3-way merge only available for GIT, or can it also be used in SVN?
Luca Ferro
Luca Ferro 2023년 3월 14일
i'm not sure about it since we use SVN with Tortoise and not through matlab

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Source Control Integration에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by