-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MATLAB.jl seems working fine with MATLAB R2023b on macOS #223
Comments
I have not tried to delve into this, but quickly trying to ERROR: Error building `MATLAB`:
[ Info: Detected MATLAB root folder at "/Applications/MATLAB_R2024a.app"
[ Info: Detected MATLAB executable at "/Applications/MATLAB_R2024a.app/bin/matlab"
ERROR: LoadError: could not load library "/Applications/MATLAB_R2024a.app/bin/maca64/libmx"
dlopen(/Applications/MATLAB_R2024a.app/bin/maca64/libmx.dylib, 0x0001): tried: '/Applications/MATLAB_R2024a.app/bin/maca64/libmx.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Applications/MATLAB_R2024a.app/bin/maca64/libmx.dylib' (no such file), '/Applications/MATLAB_R2024a.app/bin/maca64/libmx.dylib' (no such file)
Stacktrace:
[1] dlopen(s::String, flags::UInt32; throw_error::Bool)
@ Base.Libc.Libdl ./libdl.jl:117
[2] dlopen (repeats 2 times)
@ ./libdl.jl:116 [inlined]
[3] dlpath(libname::String)
@ Base.Libc.Libdl ./libdl.jl:240
[4] top-level scope
@ ~/.julia/dev/MATLAB/deps/build.jl:81
[5] include(fname::String)
@ Base.MainInclude ./client.jl:489
[6] top-level scope
@ none:5
in expression starting at /Users/mbologna/.julia/dev/MATLAB/deps/build.jl:78 When I have more time, I would like to dig into this. |
Yes, I confirm that MATLAB.jl works with MATLAB 2023 on Apple Silicon only if you use MATLAB native to Apple Silicon. If you use MATLAB built for Intel CPUs and run it via Rosetta on Apple Silicon, MATLAB.jl doesn't work. |
It also works with MATLAB 2024a on Apple Silicon. |
It seems that we will need to change the warning message in
README.md
about the MATLAB.jl package's incompatibility with the up-to-date MATLAB versions, at least for macOS running on Macs equipped with M-chips (a.k.a. Apple silicon).For MATLAB R2023b, MathWorks released a version native to Apple silicon. Today I was able to install it on my MacBook Pro with an M3 Max chip, and it seems working fine with the MATLAB.jl package. I have verified this by running several examples in
README.md
. For example,If there are any specific corner cases that concern the developers of this package in claiming the compatibility, I can test them, so please poset the code is this thread.
The text was updated successfully, but these errors were encountered: