How to install matlab on ubuntu20.4 in 2024

1

wget https://esd.mathworks.cn/R2024a/Release/5/licensed_software/installers/matlab_R2024a_Linux.zip?__gda__=1723725717_b86bd44ac8c2b9d1daaa46fc6e6a15fb&dl_id=DdzWAkuJ&ext=.zip

2

xhost +SI:localuser:root
sudo ./install
xhost -SI:localuser:root

3 start

MATLAB must be launched from the command line on Linux.

If you completed installation as root user, you may have had the option to install symbolic links to MATLAB in a folder on your system path. If you selected to install these links you can launch MATLAB from the command line, regardless of current working directory, by typing the command:
user@host$> matlab
If this does not work, or if you did not install the symbolic links during installation, you must launch MATLAB by specifying the full path to the MATLAB start script:

 cd $MATLABROOT/bin

where $MATLABROOT is the full path to your MATLAB installation directory, ex:

/usr/local/matlab/R2024a

then launch MATLAB using the following command:

user@host$> ./matlab

You may also create a symbolic link to MATLAB post-installation as the root user with the following command, assuming you’re using R2024a:

sudo ln -s /usr/local/MATLAB/R2024a/bin/matlab /usr/local/bin/matlab

See the Documentation for additional information about starting MATLAB on Linux:

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值