How do I set up MATLAB as the diff and merge tool for TortoiseGit?

23 ビュー (過去 30 日間)
I am using TortoiseGit to manage changes to a repository which contains binary files, such as Simulink models (".slx" or ".mdl" files) or live scripts (".mlx" files).
However, when I attempt to diff or merge these files, git fails because they are not text. How do I configure TortoiseGit to use MATLAB's diff and merge tools for these file types?

採用された回答

MathWorks Support Team
MathWorks Support Team 2023 年 5 月 26 日
TortoiseGit can be configured using the same instructions as for TortoiseSVN (TortoiseGit is heavily based on TortoiseSVN), which can be found in the documentation here:
  1 件のコメント
Hamid Farshi
Hamid Farshi 2024 年 7 月 6 日
Starting with MATLAB R2024b if you use the new MATLAB Desktop, you have the option of saving your MLX to M based live script. You can also change your settings so that all of your new live scripts would be M based .

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

タグ

タグが未入力です。

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by