How do I merge two linkage files for simulink requirements?

4 ビュー (過去 30 日間)
Karolin Repp
Karolin Repp 2021 年 4 月 16 日
コメント済み: Karolin Repp 2021 年 4 月 19 日
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?

採用された回答

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

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by