matlab毕竟是收费软件,而且是有界面的。但是考虑到大多研究者用不起matlab,或者不会用,所以就用linux系统里面安装matlab运行环境来解决这个问题,我们仍然可以把人家写的matlab程序,在linux命令行下面,当做一个脚本来运行!
本例是下载Mutsig2cv时所需matlab环境,GitHub - getzlab/MutSig2CV: MutSig2CV from Lawrence et al. 2014
下载时根据readme文件下载R2013a版本的matlab
1、wget -chttps://ssd.mathworks.com/supportfiles/MCR_Runtime/R2013a/MCR_R2013a_glnxa64_installer.zip
2、unzip …..
3、./install [可能会出现以下提示]

使用以下的语句
./install -mode silent -agreeToLicense yes \
-outputFile myapp_log.txt -destinationFolder ~/MW/MATLAB_Runtime