Installing MATLAB Runtime Environment 2020b on Ubuntu 18.04

6 visualizzazioni (ultimi 30 giorni)
I am trying to install the MATLAB runtime environment 2020b on Ubuntu 18.04.
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?

Risposte (1)

tilman knebel
tilman knebel il 4 Dic 2020
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.

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Prodotti


Release

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by