Skip to content

MATLAB.jl seems working fine with MATLAB R2023b on macOS #223

Closed
@wsshin

Description

@wsshin

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,

julia> VERSION
v"1.10.1"

(@v1.10) pkg> st MATLAB
Status `~/.julia/environments/v1.10/Project.toml`
  [10e44e05] MATLAB v0.8.4 `~/code/MATLAB`

julia> using MATLAB

julia> x = -10.0:0.1:10.0
-10.0:0.1:10.0

julia> y = -10.0:0.1:10.0
-10.0:0.1:10.0

julia> xx, yy = mxcall(:meshgrid, 2, x, y)
([-10.0 -9.9 … 9.9 10.0; -10.0 -9.9 … 9.9 10.0; … ; -10.0 -9.9 … 9.9 10.0; -10.0 -9.9 … 9.9 10.0], [-10.0 -10.0 … -10.0 -10.0; -9.9 -9.9 … -9.9 -9.9; … ; 9.9 9.9 … 9.9 9.9; 10.0 10.0 … 10.0 10.0])

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions