- Go to the Matlab downloads and download the zip file for the version you want to install
- Make directory
mkdir ~/Downloads/matlab
and move the zip file to this directory - Unzip the file
unzip ~/Downloads/matlab/matlab_*.zip -d ~/Downloads/matlab
- Create installation directory
sudo mkdir /opt/MATLAB && sudo chown $USER:$USER /opt/MATLAB
-
Run installer,
sudo ./install
-
Select installation location
/opt/MATLAB/R2023b
-
Select products
- MATLAB
- Simulink
- Communications Toolbox
- Computer Vision Toolbox
- Control System Toolbox
- Curve Fitting Toolbox
- Database Toolbox
- DSP System Toolbox
- Embedded Coder
- Image Acquisition Toolbox
- Image Processing Toolbox
- MATLAB Coder
- MATLAB Compiler
- MATLAB Compiler SDK
- Optimization Toolbox
- Robotics System Toolbox
- Robust Control Toolbox
- Signal Processing Toolbox
- Simulink Coder
- Simulink Compiler
- Simulink Control Design
- Stateflow
- Symbolic Math Toolbox
- System Identification Toolbox
- WLAN Toolbox
-
Create simlink to matlab
sudo ln -s /opt/MATLAB/R2023b/bin/matlab /usr/local/bin/matlab
-
Remove simlink
unlink /opt/MATLAB/R2023b/sys/os/glnxa64/libstdc++.so.6
-
Create simlink
ln -s /lib64/libstdc++.so.6 -d /opt/MATLAB/R2023b/sys/os/glnxa64
-
Change Add-Ons install directory
/home/me/.MATLAB-Add-Ons
-
Update Desktop files in
$HOME/.local/share/applications
-
Set software rendering
opengl('save', 'software')
[Desktop Entry]
Type=Application
Terminal=false
MimeType=text/x-matlab
Exec=/usr/local/bin/matlab -desktop -nosplash
Name=MATLAB
Icon=matlab
Categories=Development;Math;Science
Comment=Scientific computing environment
StartupNotify=true
- Install compatible gcc compiler compatibility list.
paru -S gcc11
- Install compatible Java JDK compatibility list.
sudo pacman -S jdk11-openjdk