if you have your installation package, skip this step
if you have a matlab account,you can use this installation package
cd ~/tools
mkdir matlab
cd matlab
cp -r /home/eedy/tools/matlab/matlab_2023a .
chmod a+x -R ./*
cd matlab_2023a
./install
In the graphical interface, select your own installation path, e.g.:/home/eedy/tools/matlab/matlab2023a
Create an alias matlab in ~/.bash_profile file for easy activation, e.g.:
alias matlab='~/tools/matlab/matlab2023a/bin/matlab'
Run the following to test the installation
# if you make alias matlab
matlab
or
# if you do not make alias matlab
cd ~/tools/matlab/matlab2023a/bin
./matlab
mkdir tools
cd ~/tools
mkdir matlab
cd matlab
cp -r /home/eedy/tools/matlab/matlab2023a .
chmod a+x -R ./*
Run the following to test the installation
cd ~/tools/matlab/matlab2023a/bin
./matlab