Matlab external diff missing sys/java/jre/maca64/jre/bin/java on MATLAB R2023b
Show older comments
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 Comment
Walter Roberson
on 19 Feb 2024
I believe this is a limitation of R2023b on Mac Silicon
Accepted Answer
More Answers (0)
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!