Matlab external diff missing sys/java/jre/maca64/jre/bin/java on MATLAB R2023b
3 次查看(过去 30 天)
显示 更早的评论
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?
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Environment and Settings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!