轉載:https://blog.csdn.net/striker_v/article/details/52884485
Matlab R2015b默認安裝目錄/usr/local/MATLAB/R2015b/bin。那么安裝完成之后系統不會給Matlab添加系統路徑,只有把終端切換到安裝目錄/usr/local/MATLAB/R2015b/bin下才能輸入命令’matlab‘啟動Matlab。。
方法:在目錄/usr/local/bin里面創建一個指向Matlab安裝目錄/usr/local/MATLAB/R2015b/bin的符號鏈接:(非默認安裝需替換安裝路徑)
sudo ln -s /usr/local/MATLAB/R2015b/bin/matlab /usr/local/bin/matlab