Installing MATLAB Runtime Environment 2020b on Ubuntu 18.04
6 次查看(过去 30 天)
显示 更早的评论
I am trying to install the MATLAB runtime environment 2020b on Ubuntu 18.04.
I followed this guide: https://de.mathworks.com/help/compiler_sdk/dotnet/install-the-matlab-runtime.html#bvf6bih-3
Using the 2020b installer here: https://de.mathworks.com/products/compiler/matlab-runtime.html
I did a silent install into my home directory because I do not have root access, and then exported the environment variable as indicated:
mkdir matlab
cd matlab
wget wget https://ssd.mathworks.com/supportfiles/downloads/R2020a/Release/5/deployment_files/installer/complete/glnxa64/MATLAB_Runtime_R2020a_Update_5_glnxa64.zip
unzip unzip MATLAB_Runtime_R2020b_Update_1_glnxa64.zip
./install -mode silent -agreeToLicense yes -outputFile install_log.txt -destinationFolder /home/<me>/MATLAB
export LD_LIBRARY_PATH=/home/<me>/MATLAB/v99/runtime/glnxa64:/home/<me>/MATLAB/v99/bin/glnxa64:/home/<me>/MATLAB/v99/sys/os/glnxa64:/home/<me>/MATLAB/v99/extern/bin/glnxa64
I also re-sourced .bashrc and even logged out and in again. But running
matlab
returns "command not found"
I even looked inside the install directoy's bin folder and found no executable:
<me>@<my_server>MATLAB/v99/bin$ ls -la
total 136
drwxrwxr-x 6 <me> <me>4096 Oct 23 12:06 .
drwxrwxr-x 18 <me> <me> 4096 Oct 23 12:06 ..
drwxrwxr-x 34 <me> <me> 77824 Oct 23 12:06 glnxa64
drwxrwxr-x 2 <me> <me> 4096 Oct 23 12:05 icutzdata
-r--r--r-- 1 <me> <me> 13176 Sep 30 2016 lcdata_utf8.xml
-r--r--r-- 1 <me> <me> 906 Oct 20 2016 lcdata.xml
-r-xr-xr-x 1 <me> <me> 2404 Oct 20 2016 lcdata.xsd
drwxrwxr-x 2 <me> <me> 4096 Oct 23 12:06 m3iregistry
-r-xr-xr-x 1 <me> <me> 1102 Jan 8 2019 mw_mpiexec
-r-xr-xr-x 1 <me> <me> 515 Oct 24 2018 mw_smpd
drwxrwxr-x 2 <me> <me> 4096 Oct 23 12:05 util
-r-xr-xr-x 1 <me> <me> 477 Oct 1 2018 worker
(There is also no such file in glnxa64)
I just want to test a compiled matlab executable which was sent to me, I don't want to edit anything or create anything new. How can I verify the installation?
0 个评论
回答(1 个)
tilman knebel
2020-12-4
The runtime is required by the compiled executable via LD_LIBRARY_PATH.
There are no useful executables in it, you can verify it by starting your application.
A compiled matlab executable normally comes with a "run_XXX.sh", which sets the LD_LIBRARY_PATH.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!