Matlab 2021a installer not working on WSL ubuntu 1804

5 visualizaciones (últimos 30 días)
Logan de Monchaux-Irons
Logan de Monchaux-Irons el 23 de Ag. de 2021
Editada: Harsh el 29 de Abr. de 2024
I have extracted the installer files, then ran:
sudo chmod -R 777 matlab
cd matlab
sudo ./install
I have a VcXsrv server display open which displays the matlab startup logo then disappears and no installer window pops up.
Any ideas as to why this is happening?

Respuestas (1)

Harsh
Harsh el 29 de Abr. de 2024
Editada: Harsh el 29 de Abr. de 2024
Hi,
From what I can gather, you are trying to install MATLAB on WSL ubuntu 18.04 and are unable to see any GUI for MATLAB’s installer after executing the “sudo ./install” command.
Please follow the following steps to view the MATLAB installer GUI:
  1. Make sure you have installed vcxsrv from the following link: https://sourceforge.net/projects/vcxsrv/
  2. After successfully installing vcxsrv, launch vcxsrv and make sure to check the following options:
a. Select Mutiple windows option in display settings.
b. Select start no client in client startup setting.
c. Select clipboard, primary selection and native opengl options in Extra settings
d. Click on finish
Launch the Windows terminal, and execute the following commands:
wsl
(WSL should open after this)
DISPLAY=localhost:0.0.0.0
(Sets the DISPLAY env variable to localhost : 0.0.0.0)
mv “path to matlab linux installer in your downloads folder” ~/
(moves matlab installer to home directory of WSL)
unzip matlab_R20XX_linux.zip
(unzips the installer)
sudo ./install
After entering the password, the installer’s GUI should be shown successfully.
I hope this helps, thanks!

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by