How do I merge two linkage files for simulink requirements?

4 views (last 30 days)
We are currently working with multiple people at our simulink model. For this model we have exported a bunch auf different requirements and now want to link them to our mode and since we are multiple people we are working with git. Now a problem occures if two or more people have linked different requirements to the same model (i.e. Req#1 and Req#2 are linked to model.mdl and therefore the links are saved in model.slmx) and after the first person pushes this to the master, the second gets an merging conflict regarding the model.slmx but we have no idea how to solve it because the "View conflict" option of the git integration of matlab does not help at this place and the model.slmx has such a form that other git tools cannot read it.
Does anyone knows who to solve this problem and merge the two model.slmx files without just using one and rework all links from the second one?

Accepted Answer

Paul Urban
Paul Urban on 16 Apr 2021
You can use the Three Way Merge that is on File Exchange: This is compatible with R2018b and later

More Answers (0)

Community Treasure Hunt

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

Start Hunting!