Take MATLAB R2017b as an example, enter the following two commands
cd /usr/local/MATLAB/R2017b/bin
./matlab