转自http://blog.csdn.net/adream307/article/details/7756481 #!/bin/bash #run matlab in command line matlab -nosplash -nodesktop #run m file in command line, for example run foo.m in command line: #matlab -nosplash -nodesktop -r foo 相关文章: