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
matlab
is in executable path. - Make sure
csh
is installed. (Note: MATLAB for Linux relies oncsh
to open an engine session.)To installcsh
in Debian/Ubuntu/Linux Mint, you may type in the following command in terminal:
sudo apt-get install csh
- From Julia run:
Pkg.add("MATLAB")