Unfortunately, MATLAB.jl has not been working for me.
Not sure if it is because I first installed MATLAB.jl by Pkg.add("MATLAB"), then realized I did not set the environment variable as above first. So I set the environment variable and installed MATLAB.jl package again.
Below are the official instructions from the Github webpage. What does it mean by “making sure matlab is in executable path”? I did add the below to ~/my.zshr file.
export PATH="/home/leon/MATLAB/R2021b/bin/:$PATH"
BTW, I’m able to launch Matlab by typing “matlab” in any directory within my terminal.
Linux
- Make sure
matlabis in executable path. - Make sure
cshis installed. (Note: MATLAB for Linux relies oncshto open an engine session.)To installcshin Debian/Ubuntu/Linux Mint, you may type in the following command in terminal:
sudo apt-get install csh
- From Julia run:
Pkg.add("MATLAB")
