Matlab external diff missing sys/java/jre/maca64/jre/bin/java on MATLAB R2023b
Afficher commentaires plus anciens
After upgrading to 2023b, the external comparison capability is no longer working on my m1 mac.
I have followed the steps here (Customize External Source Control to Use MATLAB for Diff and Merge - MATLAB & Simulink (mathworks.com))
- Enabled MathWorks source control integration.
- Run comparisons.ExternalSCMLink.setup() in the MATLAB command window.
When I attempt to run a comparison using the system terminal:
`git difftool --no-prompt -t mlDiff HEAD origin/master -- path/to/my/file.slx`
Here is the error message:
/Applications/MATLAB_R2023b.app/bin/maca64/diffLinkClient: line 23: /Applications/MATLAB_R2023b.app/sys/java/jre/maca64/jre/bin/java: No such file or directory
fatal: external diff died, stopping at path/to/my/file.slx
If I attempt to cd into `cd /Applications/MATLAB_R2023b.app/sys/java`, it appears that the directory java directory does not exist.
Is there a workaround for this?
1 commentaire
Walter Roberson
le 19 Fév 2024
I believe this is a limitation of R2023b on Mac Silicon
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!