I am on a Lenovo Legion 5 Pro with dual boot, Windows 11 and Ubuntu 22.04 LTS. I am trying to install MATLAB R2022b on the Ubuntu.
I downloaded the current zip file from Mathworks and pretty much followed the instructions from https://linuxconfig.org/how-to-install-matlab-on-ubuntu-22-04-jammy-jellyfish-linux. This means that I unzipped the installation files into ~/Documents/matlab
and then installed it into /usr/local/MATLAB/R2022b/
.
The installation GUI opened, everything seemed to work fine, after it got to 100% it closed by itself. Then, I tried to start MATLAB using Activities, and there is no MATLAB. I tried typing matlab
into the terminal, it doesn't know the command.
Further inspection shows that there is no matlab.desktop
file to be found, and whereis matlab
comes up empty.
There are files in the directory /usr/local/MATLAB/R2022b/ though:

And this is what is in the bin
:

Double clicking on matlab
opens up the file as a text file and here it also doesn't know the command:
/usr/local/MATLAB/R2022b/bin$ matlab
matlab: command not found
At this point I have no idea if MATLAB is actually installed and there just isn't any link to the executable from a directory on my path OR something went wrong in the installation. Does anyone have any ideas how to proceed?