linux命令行安装matlab

时间:2021-12-21 15:30:09

[2012]

1、挂载

mkdir /mnt/matlab

mount -o loop matl12au.iso /mnt/matlab

2、命令行安装

mkdir ~/matlab2012

sudo ./install -destinationFolder ~/matlab2012 -fileInstallationKey 38699-60149-36808-21840-05491 -agreeToLicense yes -outputFile ~/matlab2012/mathworks_localhost.log -mode silent -activateCommand activateOffline -activationPropertiesFile /mnt/matlab/crack/lic_standalone.dat


[error]
The MATLAB installer is finished.  This installation needs to be
activated prior to use.  The activation application will
be launched now.
Error: Activation cannot proceed. You may either: 
  1. Set an X11 display, and restart the activation process
  2. Use the silent activation feature
  3. Activate using the license center
[solution]

cp /mnt/matlab/crack/lic_standalone.dat ~/matlab2012/licenses/license.lic


[2014]

cp Crack/install.jar /mnt/matlab/java/jar

sudo ./install -destinationFolder 安装目录/matlab -fileInstallationKey 12345-67890-12345-67890 -agreeToLicense yes -outputFile 安装目录/matlab/mathworks_localhost.log -mode silent -activateCommand activateOffline


cp Crack/license_405329_R2014a.lic 安装目录/matlab/licenses/license.lic


【Linux】
cp Crack/Linux/libmwservices.so 安装目录/matlab/bin/glnxa64
【Mac】
cp Crack/Linux/libmwservices.so 安装目录/matlab/bin/maci64